pub struct Imm12 {
pub bits: u16,
pub shift12: bool,
}
Available on crate feature
arm64
only.Expand description
A shifted immediate value in ‘imm12’ format: supports 12 bits, shifted left by 0 or 12 places.
Fields§
§bits: u16
The immediate bits.
shift12: bool
Whether the immediate bits are shifted left by 12 or not.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Imm12
impl RefUnwindSafe for Imm12
impl Send for Imm12
impl Sync for Imm12
impl Unpin for Imm12
impl UnwindSafe for Imm12
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