Struct syntax::ast::QPathExperimental [-]  [+] [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> Hash<__S> for QPath

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

impl<__D: Decoder<__E>, __E> Decodable<__D, __E> for QPath

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

impl<__S: Encoder<__E>, __E> Encodable<__S, __E> for QPath

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

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)