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>[src]
fn eq(&self, __arg_0: &PtrTy<'a>) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &PtrTy<'a>) -> bool
This method tests for !=.
impl<'a> Eq for PtrTy<'a>[src]
impl<'a> Clone for PtrTy<'a>[src]
fn clone(&self) -> PtrTy<'a>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more