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