pub struct MethodFlags {
pub arg_count: u8,
pub serialized: bool,
pub sync_level: u8,
}
Expand description
Information about how to call a method.
Fields§
§arg_count: u8
§serialized: bool
§sync_level: u8
Implementations§
Trait Implementations§
Source§impl Clone for MethodFlags
impl Clone for MethodFlags
Source§fn clone(&self) -> MethodFlags
fn clone(&self) -> MethodFlags
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 MethodFlags
impl Debug for MethodFlags
Source§impl<'a> Parse<'a> for MethodFlags
Grammar:
impl<'a> Parse<'a> for MethodFlags
Grammar:
MethodFlags := ByteData
// bit 0-2: ArgCount (0-7)
// bit 3: SerializeFlag
// 0 NotSerialized
// 1 Serialized
// bit 4-7: SyncLevel (0x00-0x0f)
Source§fn parse<E: AMLParseError<'a>>(
i: ParserState<'a>,
) -> AMLParseResult<'a, Self, E>
fn parse<E: AMLParseError<'a>>( i: ParserState<'a>, ) -> AMLParseResult<'a, Self, E>
Try to parse an object of this type from the given input and state. Read more
Source§impl PartialEq for MethodFlags
impl PartialEq for MethodFlags
impl Copy for MethodFlags
impl Eq for MethodFlags
impl StructuralPartialEq for MethodFlags
Auto Trait Implementations§
impl Freeze for MethodFlags
impl RefUnwindSafe for MethodFlags
impl Send for MethodFlags
impl Sync for MethodFlags
impl Unpin for MethodFlags
impl UnwindSafe for MethodFlags
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