pub struct StructGetU {
pub ty: TypeId,
pub field: u32,
}Expand description
struct.get_u - read a packed field with zero extension
Like struct.get but for packed field types (i8, i16).
Zero-extends the value to i32.
Fields§
§ty: TypeIdThe struct type.
field: u32The field index within the struct.
Trait Implementations§
Source§impl Clone for StructGetU
impl Clone for StructGetU
Source§impl Debug for StructGetU
impl Debug for StructGetU
Source§impl From<StructGetU> for Instr
impl From<StructGetU> for Instr
Source§fn from(x: StructGetU) -> Instr
fn from(x: StructGetU) -> Instr
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for StructGetU
impl RefUnwindSafe for StructGetU
impl Send for StructGetU
impl Sync for StructGetU
impl Unpin for StructGetU
impl UnsafeUnpin for StructGetU
impl UnwindSafe for StructGetU
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