Enum rustdoc::clean::types::PrimitiveType [−][src]
pub(crate) enum PrimitiveType {
Show variants
Isize,
I8,
I16,
I32,
I64,
I128,
Usize,
U8,
U16,
U32,
U64,
U128,
F32,
F64,
Char,
Bool,
Str,
Slice,
Array,
Tuple,
Unit,
RawPointer,
Reference,
Fn,
Never,
}Expand description
N.B. this has to be different from hir::PrimTy because it also includes types that aren’t
paths, like Unit.
Variants
Implementations
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for PrimitiveTypeimpl Send for PrimitiveTypeimpl Sync for PrimitiveTypeimpl Unpin for PrimitiveTypeimpl UnwindSafe for PrimitiveTypeBlanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
pub fn vzip(self) -> VLayout
Note: Most layout information is completely unstable and may be different between compiler versions and platforms. 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: 1 byte