pub struct ParseResult<GlobalTags, LocalTags> { /* private fields */ }
Expand description
The result after applying a TagParser to a specification
Implementations§
Source§impl<GlobalTags, LocalTags> ParseResult<GlobalTags, LocalTags>
impl<GlobalTags, LocalTags> ParseResult<GlobalTags, LocalTags>
Returns the representation returned by the parser for the global tags
Returns the representation returned by the parser for the given stream (if it exists)
Trait Implementations§
Auto Trait Implementations§
impl<GlobalTags, LocalTags> Freeze for ParseResult<GlobalTags, LocalTags>where
GlobalTags: Freeze,
impl<GlobalTags, LocalTags> RefUnwindSafe for ParseResult<GlobalTags, LocalTags>where
GlobalTags: RefUnwindSafe,
LocalTags: RefUnwindSafe,
impl<GlobalTags, LocalTags> Send for ParseResult<GlobalTags, LocalTags>
impl<GlobalTags, LocalTags> Sync for ParseResult<GlobalTags, LocalTags>
impl<GlobalTags, LocalTags> Unpin for ParseResult<GlobalTags, LocalTags>
impl<GlobalTags, LocalTags> UnwindSafe for ParseResult<GlobalTags, LocalTags>where
GlobalTags: UnwindSafe,
LocalTags: UnwindSafe,
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more