Struct unrest_tmp_syn::tokens::Const
[−]
[src]
pub struct Const(pub Span);
Trait Implementations
impl ToTokens for Const
[src]
fn to_tokens(&self, tokens: &mut Tokens)
Write self
to the given Tokens
. Read more
fn into_tokens(self) -> Tokens
Convert self
directly into a Tokens
object. Read more
impl Default for Const
[src]
impl Copy for Const
[src]
impl Synom for Const
[src]
fn parse(tokens: Cursor) -> Result<(Cursor, Const), ParseError>
fn description() -> Option<&'static str>
impl Clone for Const
[src]
fn clone(&self) -> Const
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more