Enum syntax::ext::deriving::generic::ty::PtrTyUnstable [-] [+] [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> Clone for PtrTy<'a>

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

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