#[repr(C)]pub struct LocPiece {
pub atype: u32,
pub reg: u32,
pub sval: i64,
pub off: u32,
pub size: u32,
}Expand description
One fragment of a scattered (ALOC_DIST) local’s location. atype is the fragment’s own ALOC_* (a register or stack slot); off/size give the byte range of the whole value this fragment covers.
Fields§
§atype: u32The fragment’s own ALOC_* discriminant.
reg: u32Register number, meaningful only for a register fragment.
sval: i64Stack offset or static address, meaningful only for a stack/static fragment.
off: u32Byte offset of this fragment within the whole scattered value.
size: u32Byte size of this fragment.
Trait Implementations§
Source§impl ExternType for LocPiece
impl ExternType for LocPiece
Auto Trait Implementations§
impl Freeze for LocPiece
impl RefUnwindSafe for LocPiece
impl Send for LocPiece
impl Sync for LocPiece
impl Unpin for LocPiece
impl UnsafeUnpin for LocPiece
impl UnwindSafe for LocPiece
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