pub struct Member<'a> {
pub attr: u16,
pub ty: TypeIndex,
pub offset: Number<'a>,
pub name: &'a BStr,
}
Fields§
§attr: u16
§ty: TypeIndex
§offset: Number<'a>
§name: &'a BStr
Trait Implementations§
Source§impl<'a> Parse<'a> for Member<'a>
impl<'a> Parse<'a> for Member<'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 Member<'a>
impl<'a> RefUnwindSafe for Member<'a>
impl<'a> Send for Member<'a>
impl<'a> Sync for Member<'a>
impl<'a> Unpin for Member<'a>
impl<'a> UnwindSafe for Member<'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