pub struct Array<'a> {
pub fixed: &'a ArrayFixed,
pub len: Number<'a>,
pub name: &'a BStr,
}
Expand description
For LF_ARRAY
Fields§
§fixed: &'a ArrayFixed
§len: Number<'a>
§name: &'a BStr
Trait Implementations§
Source§impl<'a> Parse<'a> for Array<'a>
impl<'a> Parse<'a> for Array<'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 Array<'a>
impl<'a> RefUnwindSafe for Array<'a>
impl<'a> Send for Array<'a>
impl<'a> Sync for Array<'a>
impl<'a> Unpin for Array<'a>
impl<'a> UnwindSafe for Array<'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