Struct texlang::parse::OptionalSpace
source · pub struct OptionalSpace;
Expand description
When parsed, this type consumes an optional space from the token stream.
Trait Implementations§
source§impl Parsable for OptionalSpace
impl Parsable for OptionalSpace
source§fn parse_impl<S: TexlangState>(input: &mut ExpandedStream<S>) -> Result<Self>
fn parse_impl<S: TexlangState>(input: &mut ExpandedStream<S>) -> Result<Self>
Parses a value from the vm::ExpandedStream.
source§fn parse<S: TexlangState, I>(input: &mut I) -> Result<Self>where
I: AsMut<ExpandedStream<S>>,
fn parse<S: TexlangState, I>(input: &mut I) -> Result<Self>where
I: AsMut<ExpandedStream<S>>,
Parses a value from an input stream. Read more
Auto Trait Implementations§
impl Freeze for OptionalSpace
impl RefUnwindSafe for OptionalSpace
impl Send for OptionalSpace
impl Sync for OptionalSpace
impl Unpin for OptionalSpace
impl UnwindSafe for OptionalSpace
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