Enum syntex_syntax::parse::parser::PathParsingMode
[−]
[src]
pub enum PathParsingMode { NoTypesAllowed, LifetimeAndTypesWithoutColons, LifetimeAndTypesWithColons, }
How to parse a path. There are four different kinds of paths, all of which are parsed somewhat differently.
Variants
NoTypesAllowed | A path with no type parameters; e.g. | |
LifetimeAndTypesWithoutColons | A path with a lifetime and type parameters, with no double colons
before the type parameters; e.g. | |
LifetimeAndTypesWithColons | A path with a lifetime and type parameters with double colons before
the type parameters; e.g. |
Trait Implementations
Derived Implementations
impl PartialEq for PathParsingMode
[src]
fn eq(&self, __arg_0: &PathParsingMode) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.
impl Clone for PathParsingMode
[src]
fn clone(&self) -> PathParsingMode
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