pub struct Die<'a> {
pub offset: usize,
pub code: u64,
pub tag: DwTag,
pub children: bool,
pub attributes: Vec<Attribute<'a>>,
}
Fields§
§offset: usize
§code: u64
§tag: DwTag
§children: bool
§attributes: Vec<Attribute<'a>>
Implementations§
Source§impl<'a, 'b> Die<'a>
impl<'a, 'b> Die<'a>
pub fn read( r: &mut &'a [u8], offset: usize, unit: &CompilationUnit<'b>, abbrev_hash: &AbbrevHash, ) -> Result<Die<'a>, ReadError>
Source§impl<'a, 'b> Die<'a>
impl<'a, 'b> Die<'a>
pub fn write_null(unit: &mut CompilationUnit<'b>) -> Result<()>
pub fn write( &self, unit: &mut CompilationUnit<'b>, abbrev_hash: &AbbrevHash, ) -> Result<(), WriteError>
Trait Implementations§
impl<'a> Eq for Die<'a>
impl<'a> StructuralPartialEq for Die<'a>
Auto Trait Implementations§
impl<'a> Freeze for Die<'a>
impl<'a> RefUnwindSafe for Die<'a>
impl<'a> Send for Die<'a>
impl<'a> Sync for Die<'a>
impl<'a> Unpin for Die<'a>
impl<'a> UnwindSafe for Die<'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