pub enum NumType {
Int8,
Uint8,
Int16,
Uint16,
Int32,
Uint32,
Float32,
Float64,
}
Expand description
A type of number to infer by default.
See Hints
for how this enum is used.
Variants§
Int8
Corresponds to jtd::Type::Int8
.
Uint8
Corresponds to jtd::Type::Uint8
.
Int16
Corresponds to jtd::Type::Int16
.
Uint16
Corresponds to jtd::Type::Uint16
.
Int32
Corresponds to jtd::Type::Int32
.
Uint32
Corresponds to jtd::Type::Uint32
.
Float32
Corresponds to jtd::Type::Float32
.
Float64
Corresponds to jtd::Type::Float64
.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NumType
impl RefUnwindSafe for NumType
impl Send for NumType
impl Sync for NumType
impl Unpin for NumType
impl UnwindSafe for NumType
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