pub struct MethodSignature {
pub name: Vec<NameSeg>,
pub arg_count: u8,
}
Expand description
Expected argument count for a method in the ACPI namespace.
Needed because the grammar for method invocations is ambiguous without knowing the exact number of argument terms expected.
Fields§
§name: Vec<NameSeg>
§arg_count: u8
Implementations§
Trait Implementations§
Source§impl Clone for MethodSignature
impl Clone for MethodSignature
Source§fn clone(&self) -> MethodSignature
fn clone(&self) -> MethodSignature
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for MethodSignature
impl Debug for MethodSignature
Source§impl Default for MethodSignature
impl Default for MethodSignature
Source§fn default() -> MethodSignature
fn default() -> MethodSignature
Returns the “default value” for a type. Read more
Source§impl PartialEq for MethodSignature
impl PartialEq for MethodSignature
impl Eq for MethodSignature
impl StructuralPartialEq for MethodSignature
Auto Trait Implementations§
impl Freeze for MethodSignature
impl RefUnwindSafe for MethodSignature
impl Send for MethodSignature
impl Sync for MethodSignature
impl Unpin for MethodSignature
impl UnwindSafe for MethodSignature
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more