pub enum DType {
Show 15 variants
USIZE,
U8,
U16,
U32,
U64,
ISIZE,
I8,
I16,
I32,
I64,
F32,
F64,
Bool,
Str,
Char,
}
Expand description
Data Type enum
Variants§
Implementations§
source§impl DType
impl DType
sourcepub fn is_numeric(&self) -> bool
pub fn is_numeric(&self) -> bool
Check for static numeric type
pub fn is_integer(&self) -> bool
Trait Implementations§
source§impl PartialEq for DType
impl PartialEq for DType
impl Copy for DType
impl Eq for DType
impl StructuralPartialEq for DType
Auto Trait Implementations§
impl RefUnwindSafe for DType
impl Send for DType
impl Sync for DType
impl Unpin for DType
impl UnwindSafe for DType
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