pub enum PrimitiveTypeKind {
Boolean,
Integer,
Float,
String,
File,
Directory,
}Expand description
Represents a kind of primitive type.
Variants§
Boolean
The primitive is a Boolean.
Integer
The primitive is an Int.
Float
The primitive is a Float.
String
The primitive is a String.
File
The primitive is a File.
Directory
The primitive is a Directory
Trait Implementations§
Source§impl Clone for PrimitiveTypeKind
impl Clone for PrimitiveTypeKind
Source§fn clone(&self) -> PrimitiveTypeKind
fn clone(&self) -> PrimitiveTypeKind
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PrimitiveTypeKind
impl Debug for PrimitiveTypeKind
Source§impl Hash for PrimitiveTypeKind
impl Hash for PrimitiveTypeKind
Source§impl Ord for PrimitiveTypeKind
impl Ord for PrimitiveTypeKind
Source§fn cmp(&self, other: &PrimitiveTypeKind) -> Ordering
fn cmp(&self, other: &PrimitiveTypeKind) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for PrimitiveTypeKind
impl PartialEq for PrimitiveTypeKind
Source§impl PartialOrd for PrimitiveTypeKind
impl PartialOrd for PrimitiveTypeKind
impl Copy for PrimitiveTypeKind
impl Eq for PrimitiveTypeKind
impl StructuralPartialEq for PrimitiveTypeKind
Auto Trait Implementations§
impl Freeze for PrimitiveTypeKind
impl RefUnwindSafe for PrimitiveTypeKind
impl Send for PrimitiveTypeKind
impl Sync for PrimitiveTypeKind
impl Unpin for PrimitiveTypeKind
impl UnwindSafe for PrimitiveTypeKind
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more