Enum syn::ViewPath
[−]
[src]
pub enum ViewPath {
Simple(Path, Option<Ident>),
Glob(Path),
List(Path, Vec<PathListItem>),
}Variants
Simple(Path, Option<Ident>)foo::bar::baz as quux
or just
foo::bar::baz (with as baz implicitly on the right)
Glob(Path)foo::bar::*
List(Path, Vec<PathListItem>)foo::bar::{a, b, c}
Trait Implementations
impl ToTokens for ViewPath[src]
impl Debug for ViewPath[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more
impl Clone for ViewPath[src]
fn clone(&self) -> ViewPath[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Eq for ViewPath[src]
impl PartialEq for ViewPath[src]
fn eq(&self, __arg_0: &ViewPath) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &ViewPath) -> bool[src]
This method tests for !=.