Enum rustdoc::clean::PrimitiveType
[−]
[src]
pub enum PrimitiveType {
Isize,
I8,
I16,
I32,
I64,
Usize,
U8,
U16,
U32,
U64,
F32,
F64,
Char,
Bool,
Str,
Slice,
Array,
PrimitiveTuple,
PrimitiveRawPointer,
}Unstable (
rustdoc)Variants
IsizeUnstable (
rustdoc)I8Unstable (
rustdoc)I16Unstable (
rustdoc)I32Unstable (
rustdoc)I64Unstable (
rustdoc)UsizeUnstable (
rustdoc)U8Unstable (
rustdoc)U16Unstable (
rustdoc)U32Unstable (
rustdoc)U64Unstable (
rustdoc)F32Unstable (
rustdoc)F64Unstable (
rustdoc)CharUnstable (
rustdoc)BoolUnstable (
rustdoc)StrUnstable (
rustdoc)SliceUnstable (
rustdoc)ArrayUnstable (
rustdoc)PrimitiveTupleUnstable (
rustdoc)PrimitiveRawPointerUnstable (
rustdoc)Methods
impl PrimitiveType[src]
fn to_string(&self) -> &'static str
fn to_url_str(&self) -> &'static str
fn to_def_index(&self) -> DefIndex
Unstable (
rustdoc)Creates a rustdoc-specific node id for primitive types.
These node ids are generally never used by the AST itself.
Trait Implementations
Derived Implementations
impl Debug for PrimitiveType[src]
impl Copy for PrimitiveType[src]
impl Hash for PrimitiveType[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the state given, updating the hasher as necessary.
fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher1.3.0
Feeds a slice of this type into the state provided.
impl Eq for PrimitiveType[src]
impl PartialEq for PrimitiveType[src]
fn eq(&self, __arg_0: &PrimitiveType) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0
This method tests for !=.
impl Decodable for PrimitiveType[src]
fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<PrimitiveType, __D::Error>
impl Encodable for PrimitiveType[src]
impl Clone for PrimitiveType[src]
fn clone(&self) -> PrimitiveType
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more