Struct parol::parser::parol_grammar_trait::SimpleToken
source · pub struct SimpleToken<'t> {
pub token_literal: TokenLiteral<'t>,
pub simple_token_opt: Option<SimpleTokenOpt>,
}
Expand description
Type derived for non-terminal SimpleToken
Fields§
§token_literal: TokenLiteral<'t>
§simple_token_opt: Option<SimpleTokenOpt>
Trait Implementations§
source§impl<'t> Clone for SimpleToken<'t>
impl<'t> Clone for SimpleToken<'t>
source§fn clone(&self) -> SimpleToken<'t>
fn clone(&self) -> SimpleToken<'t>
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 moreAuto Trait Implementations§
impl<'t> Freeze for SimpleToken<'t>
impl<'t> RefUnwindSafe for SimpleToken<'t>
impl<'t> Send for SimpleToken<'t>
impl<'t> Sync for SimpleToken<'t>
impl<'t> Unpin for SimpleToken<'t>
impl<'t> UnwindSafe for SimpleToken<'t>
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