Struct gimli::Piece [−][src]
pub struct Piece<R, Offset = usize> where
R: Reader<Offset = Offset>,
Offset: ReaderOffset, { pub size_in_bits: Option<u64>, pub bit_offset: Option<u64>, pub location: Location<R, Offset>, }
The description of a single piece of the result of a DWARF expression.
Fields
size_in_bits: Option<u64>
If given, the size of the piece in bits. If None
, then the
piece takes its size from the enclosed location.
bit_offset: Option<u64>
If given, the bit offset of the piece. If None
, then the
piece starts at the next byte boundary.
location: Location<R, Offset>
Where this piece is to be found.
Trait Implementations
impl<R: Debug, Offset: Debug> Debug for Piece<R, Offset> where
R: Reader<Offset = Offset>,
Offset: ReaderOffset,
[src]
impl<R: Debug, Offset: Debug> Debug for Piece<R, Offset> where
R: Reader<Offset = Offset>,
Offset: ReaderOffset,
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<R: Clone, Offset: Clone> Clone for Piece<R, Offset> where
R: Reader<Offset = Offset>,
Offset: ReaderOffset,
[src]
impl<R: Clone, Offset: Clone> Clone for Piece<R, Offset> where
R: Reader<Offset = Offset>,
Offset: ReaderOffset,
fn clone(&self) -> Piece<R, Offset>
[src]
fn clone(&self) -> Piece<R, Offset>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl<R: Copy, Offset: Copy> Copy for Piece<R, Offset> where
R: Reader<Offset = Offset>,
Offset: ReaderOffset,
[src]
impl<R: Copy, Offset: Copy> Copy for Piece<R, Offset> where
R: Reader<Offset = Offset>,
Offset: ReaderOffset,
impl<R: PartialEq, Offset: PartialEq> PartialEq for Piece<R, Offset> where
R: Reader<Offset = Offset>,
Offset: ReaderOffset,
[src]
impl<R: PartialEq, Offset: PartialEq> PartialEq for Piece<R, Offset> where
R: Reader<Offset = Offset>,
Offset: ReaderOffset,