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

If given, the size of the piece in bits. If None, then the piece takes its size from the enclosed location.

If given, the bit offset of the piece. If None, then the piece starts at the next byte boundary.

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]

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]

Returns a copy of the value. Read more

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: PartialEq, Offset: PartialEq> PartialEq for Piece<R, Offset> where
    R: Reader<Offset = Offset>,
    Offset: ReaderOffset
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

impl<R, Offset> Send for Piece<R, Offset> where
    Offset: Send,
    R: Send

impl<R, Offset> Sync for Piece<R, Offset> where
    Offset: Sync,
    R: Sync