Enum rustc_builtin_macros::deriving::generic::ty::Ty [−][src]
Expand description
A type. Supports pointers, Self, and literals.
Variants
&/Box/ Ty
Literal(Path)
mod::mod::Type<[lifetime], [Params...]>
, including a plain type
parameter, and things like i32
Tuple Fields of Literal
0: Path
includes unit
Implementations
Trait Implementations
Auto Trait Implementations
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: 72 bytes
Size for each variant:
Self_
: 0 bytesPtr
: 28 bytesLiteral
: 68 bytesTuple
: 28 bytes