Struct Piece
pub struct Piece<'a> { /* private fields */ }Expand description
A piece of a CompositeLocation
Implementations§
§impl Piece<'_>
impl Piece<'_>
pub fn bit_offset(&self) -> u64
pub fn bit_offset(&self) -> u64
Offset (in bits) of this piece within the whole value
pub fn source_bit_offset(&self) -> Option<u64>
pub fn source_bit_offset(&self) -> Option<u64>
For a DW_OP_bit_piece, the offset (in bits) of this piece within its
location (e.g. the register)
Auto Trait Implementations§
impl<'a> Freeze for Piece<'a>
impl<'a> RefUnwindSafe for Piece<'a>
impl<'a> !Send for Piece<'a>
impl<'a> !Sync for Piece<'a>
impl<'a> Unpin for Piece<'a>
impl<'a> UnwindSafe for Piece<'a>
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