Struct syntax::ast::QPathUnstable [-]  [+] [src]

pub struct QPath {
    pub self_type: P<Ty>,
    pub trait_ref: P<TraitRef>,
    pub item_name: Ident,
}

A "qualified path":

<Vec<T> as SomeTrait>::SomeAssociatedItem
 ^~~~~     ^~~~~~~~~   ^~~~~~~~~~~~~~~~~~
 self_type  trait_name  item_name

Fields

self_type
trait_ref
item_name

Trait Implementations

Derived Implementations

impl Show for QPath

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl<__S: Writer + Hasher> Hash<__S> for QPath

fn hash(&self, __arg_0: &mut __S)

impl Decodable for QPath

fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<QPath, Error>

impl Encodable for QPath

fn encode<__S: Encoder>(&self, __arg_0: &mut __S) -> Result<(), Error>

impl Eq for QPath

fn assert_receiver_is_total_eq(&self)

impl PartialEq for QPath

fn eq(&self, __arg_0: &QPath) -> bool

fn ne(&self, __arg_0: &QPath) -> bool

impl Clone for QPath

fn clone(&self) -> QPath

fn clone_from(&mut self, source: &Self)