pub struct NestedType<'a> {
pub nested_ty: TypeIndex,
pub name: &'a BStr,
}
Fields§
§nested_ty: TypeIndex
§name: &'a BStr
Trait Implementations§
Source§impl<'a> Clone for NestedType<'a>
impl<'a> Clone for NestedType<'a>
Source§fn clone(&self) -> NestedType<'a>
fn clone(&self) -> NestedType<'a>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'a> Debug for NestedType<'a>
impl<'a> Debug for NestedType<'a>
Source§impl<'a> Parse<'a> for NestedType<'a>
impl<'a> Parse<'a> for NestedType<'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 NestedType<'a>
impl<'a> RefUnwindSafe for NestedType<'a>
impl<'a> Send for NestedType<'a>
impl<'a> Sync for NestedType<'a>
impl<'a> Unpin for NestedType<'a>
impl<'a> UnwindSafe for NestedType<'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