Enum syntax_ext::deriving::generic::ty::PtrTy [] [src]

pub enum PtrTy<'a> {
    Borrowed(Option<&'a str>, Mutability),
    Raw(Mutability),
}
🔬 This is a nightly-only experimental API. (rustc_private)

The types of pointers

Variants

🔬 This is a nightly-only experimental API. (rustc_private)

&'lifetime mut

🔬 This is a nightly-only experimental API. (rustc_private)

*mut

Trait Implementations

impl<'a> Clone for PtrTy<'a>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'a> Eq for PtrTy<'a>
[src]

impl<'a> PartialEq for PtrTy<'a>
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.