pub enum AccessType {
Any,
Byte,
Word,
DWord,
QWord,
Buffer,
}
Expand description
Width used to access a field.
Variants§
Trait Implementations§
Source§impl Clone for AccessType
impl Clone for AccessType
Source§fn clone(&self) -> AccessType
fn clone(&self) -> AccessType
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 AccessType
impl Debug for AccessType
Source§impl PartialEq for AccessType
impl PartialEq for AccessType
Source§impl TryFrom<u8> for AccessType
See grammar of FieldFlags
.
impl TryFrom<u8> for AccessType
See grammar of FieldFlags
.
This does not match the AccessType
production in the AML grammar, which is
really a hybrid between the AccessType
and AccessAttribute
productions from
the ASL grammar. See parse_access_field
for that rule in the AML grammar.
AccessType
does not implement Parser because it is always part of a bitfield.
impl Copy for AccessType
impl Eq for AccessType
impl StructuralPartialEq for AccessType
Auto Trait Implementations§
impl Freeze for AccessType
impl RefUnwindSafe for AccessType
impl Send for AccessType
impl Sync for AccessType
impl Unpin for AccessType
impl UnwindSafe for AccessType
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