Enum syntex_syntax::ext::deriving::generic::ty::PtrTy [] [src]

pub enum PtrTy<'a> {
    Borrowed(Option<&'a str>, Mutability),
    Raw(Mutability),
}

The types of pointers

Variants

Borrowed

&'lifetime mut

Raw

*mut

Trait Implementations

Derived Implementations

impl<'a> PartialEq for PtrTy<'a>

fn eq(&self, __arg_0: &PtrTy<'a>) -> bool

fn ne(&self, __arg_0: &PtrTy<'a>) -> bool

impl<'a> Eq for PtrTy<'a>

impl<'a> Clone for PtrTy<'a>

fn clone(&self) -> PtrTy<'a>

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