Struct syntax::ast::TraitRef[src]

pub struct TraitRef {
    pub path: Path,
    pub ref_id: NodeId,
}

Fields

path
ref_id

Trait Implementations

Derived Implementations

impl<__S: Writer> Hash<__S> for TraitRef

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

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

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

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

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

impl Eq for TraitRef

fn assert_receiver_is_total_eq(&self)

impl PartialEq for TraitRef

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

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

impl Clone for TraitRef

fn clone(&self) -> TraitRef

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