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

pub struct QPath {
    pub self_type: P<Ty>,
    pub trait_ref: P<TraitRef>,
    pub item_path: PathSegment,
}

A "qualified path":

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

Fields

self_type
trait_ref
item_path

Trait Implementations

Derived Implementations

impl Debug for QPath

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

impl Hash for QPath

fn hash<__H: Hasher>(&self, __arg_0: &mut __H)

fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher

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)