pub struct Struct<'a> {
    pub fixed: &'a StructFixed,
    pub length: Number<'a>,
    pub name: &'a BStr,
    pub unique_name: Option<&'a BStr>,
}Expand description
For LF_CLASS, LF_STRUCTURE, and LF_INTERFACE.
Fields§
§fixed: &'a StructFixed§length: Number<'a>§name: &'a BStr§unique_name: Option<&'a BStr>Trait Implementations§
Source§impl<'a> Parse<'a> for Struct<'a>
 
impl<'a> Parse<'a> for Struct<'a>
Source§fn from_parser(p: &mut Parser<'a>) -> Result<Self, ParserError>
 
fn from_parser(p: &mut Parser<'a>) -> Result<Self, ParserError>
Parses an instance of 
Self from a Parser.
This allows the caller to detect which bytes were not consumed at the end of the input.Auto Trait Implementations§
impl<'a> Freeze for Struct<'a>
impl<'a> RefUnwindSafe for Struct<'a>
impl<'a> Send for Struct<'a>
impl<'a> Sync for Struct<'a>
impl<'a> Unpin for Struct<'a>
impl<'a> UnwindSafe for Struct<'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