Enum rustc_builtin_macros::deriving::generic::ty::PtrTy [−][src]
pub enum PtrTy {
Borrowed(Option<Ident>, Mutability),
Raw(Mutability),
}
Expand description
The types of pointers
Variants
Borrowed(Option<Ident>, Mutability)
&’lifetime mut
Tuple Fields of Borrowed
0: Option<Ident>
1: Mutability
Raw(Mutability)
*mut
Tuple Fields of Raw
0: Mutability
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for PtrTy
impl UnwindSafe for PtrTy
Blanket Implementations
Mutably borrows from an owned value. Read more
Layout
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 16 bytes
Size for each variant:
Borrowed
: 15 bytesRaw
: 1 byte