Struct unrest_tmp_syn::tokens::Colon2
[−]
[src]
pub struct Colon2(pub [Span; 2]);
Trait Implementations
impl ToTokens for Colon2
[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 Colon2
[src]
impl Copy for Colon2
[src]
impl Synom for Colon2
[src]
fn parse(tokens: Cursor) -> Result<(Cursor, Colon2), ParseError>
fn description() -> Option<&'static str>
impl Clone for Colon2
[src]
fn clone(&self) -> Colon2
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