Enum rustdoc::clean::PrimitiveTypeExperimental
[-]
[+]
[src]
pub enum PrimitiveType {
Int,
I8,
I16,
I32,
I64,
Uint,
U8,
U16,
U32,
U64,
F32,
F64,
Char,
Bool,
Str,
Slice,
PrimitiveTuple,
}Variants
Int | |
I8 | |
I16 | |
I32 | |
I64 | |
Uint | |
U8 | |
U16 | |
U32 | |
U64 | |
F32 | |
F64 | |
Char | |
Bool | |
Str | |
Slice | |
PrimitiveTuple |
Methods
impl PrimitiveType
fn to_string(&self) -> &'static str
fn to_url_str(&self) -> &'static str
fn to_node_id(&self) -> NodeId
Creates a rustdoc-specific node id for primitive types.
These node ids are generally never used by the AST itself.