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)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

The types of pointers

Variants

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

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

&'lifetime mut

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

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

*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 !=.

Auto Trait Implementations

impl<'a> Send for PtrTy<'a>

impl<'a> Sync for PtrTy<'a>