pub struct ArmSwitchType(pub u16);Expand description
The type of switch table, as defined by S_ARMSWITCHTABLE.
Tuple Fields§
§0: u16Implementations§
Source§impl ArmSwitchType
impl ArmSwitchType
Sourcepub const INT1: ArmSwitchType
pub const INT1: ArmSwitchType
Signed 1-byte offset
Sourcepub const UINT1: ArmSwitchType
pub const UINT1: ArmSwitchType
Unsigned 1-byte offset
Sourcepub const INT2: ArmSwitchType
pub const INT2: ArmSwitchType
Signed 2-byte offset
Sourcepub const UINT2: ArmSwitchType
pub const UINT2: ArmSwitchType
Unsigned 2-byte offset
Sourcepub const INT4: ArmSwitchType
pub const INT4: ArmSwitchType
Signed 4-byte offset
Sourcepub const UINT4: ArmSwitchType
pub const UINT4: ArmSwitchType
Unsigned 4-byte offset
Sourcepub const POINTER: ArmSwitchType
pub const POINTER: ArmSwitchType
Absolute pointer (no base)
Sourcepub const UINT1SHL1: ArmSwitchType
pub const UINT1SHL1: ArmSwitchType
Unsigned 1-byte offset, shift left by 1
Sourcepub const UINT2SHL1: ArmSwitchType
pub const UINT2SHL1: ArmSwitchType
Unsigned 2-byte offset, shift left by 2
Sourcepub const INT1SHL1: ArmSwitchType
pub const INT1SHL1: ArmSwitchType
Signed 1-byte offset, shift left by 1
Sourcepub const INT2SHL1: ArmSwitchType
pub const INT2SHL1: ArmSwitchType
Signed 2-byte offset, shift left by 1
Trait Implementations§
Source§impl Clone for ArmSwitchType
impl Clone for ArmSwitchType
Source§fn clone(&self) -> ArmSwitchType
fn clone(&self) -> ArmSwitchType
Returns a duplicate 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 ArmSwitchType
impl Debug for ArmSwitchType
Source§impl PartialEq for ArmSwitchType
impl PartialEq for ArmSwitchType
impl Copy for ArmSwitchType
impl Eq for ArmSwitchType
impl StructuralPartialEq for ArmSwitchType
Auto Trait Implementations§
impl Freeze for ArmSwitchType
impl RefUnwindSafe for ArmSwitchType
impl Send for ArmSwitchType
impl Sync for ArmSwitchType
impl Unpin for ArmSwitchType
impl UnwindSafe for ArmSwitchType
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