pub enum IntDatatype {
Int,
Short(ShortDatatype),
}
Expand description
Int
datatype variants.
Variants§
Int
Short(ShortDatatype)
Implementations§
Trait Implementations§
Source§impl Clone for IntDatatype
impl Clone for IntDatatype
Source§fn clone(&self) -> IntDatatype
fn clone(&self) -> IntDatatype
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 IntDatatype
impl Debug for IntDatatype
Source§impl From<IntDatatype> for Datatype
impl From<IntDatatype> for Datatype
Source§fn from(value: IntDatatype) -> Self
fn from(value: IntDatatype) -> Self
Converts to this type from the input type.
Source§impl From<IntDatatype> for DecimalDatatype
impl From<IntDatatype> for DecimalDatatype
Source§fn from(value: IntDatatype) -> Self
fn from(value: IntDatatype) -> Self
Converts to this type from the input type.
Source§impl From<IntDatatype> for IntegerDatatype
impl From<IntDatatype> for IntegerDatatype
Source§fn from(value: IntDatatype) -> Self
fn from(value: IntDatatype) -> Self
Converts to this type from the input type.
Source§impl From<IntDatatype> for LongDatatype
impl From<IntDatatype> for LongDatatype
Source§fn from(value: IntDatatype) -> Self
fn from(value: IntDatatype) -> Self
Converts to this type from the input type.
Source§impl From<ShortDatatype> for IntDatatype
impl From<ShortDatatype> for IntDatatype
Source§fn from(value: ShortDatatype) -> Self
fn from(value: ShortDatatype) -> Self
Converts to this type from the input type.
Source§impl Hash for IntDatatype
impl Hash for IntDatatype
Source§impl Ord for IntDatatype
impl Ord for IntDatatype
Source§fn cmp(&self, other: &IntDatatype) -> Ordering
fn cmp(&self, other: &IntDatatype) -> 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 IntDatatype
impl PartialEq for IntDatatype
Source§impl PartialOrd for IntDatatype
impl PartialOrd for IntDatatype
Source§impl TryFrom<Datatype> for IntDatatype
impl TryFrom<Datatype> for IntDatatype
Source§impl TryFrom<DecimalDatatype> for IntDatatype
impl TryFrom<DecimalDatatype> for IntDatatype
Source§type Error = DecimalDatatype
type Error = DecimalDatatype
The type returned in the event of a conversion error.
Source§fn try_from(value: DecimalDatatype) -> Result<Self, DecimalDatatype>
fn try_from(value: DecimalDatatype) -> Result<Self, DecimalDatatype>
Performs the conversion.
Source§impl TryFrom<IntDatatype> for ShortDatatype
impl TryFrom<IntDatatype> for ShortDatatype
Source§type Error = IntDatatype
type Error = IntDatatype
The type returned in the event of a conversion error.
Source§fn try_from(value: IntDatatype) -> Result<Self, IntDatatype>
fn try_from(value: IntDatatype) -> Result<Self, IntDatatype>
Performs the conversion.
Source§impl TryFrom<IntegerDatatype> for IntDatatype
impl TryFrom<IntegerDatatype> for IntDatatype
Source§type Error = IntegerDatatype
type Error = IntegerDatatype
The type returned in the event of a conversion error.
Source§fn try_from(value: IntegerDatatype) -> Result<Self, IntegerDatatype>
fn try_from(value: IntegerDatatype) -> Result<Self, IntegerDatatype>
Performs the conversion.
Source§impl TryFrom<LongDatatype> for IntDatatype
impl TryFrom<LongDatatype> for IntDatatype
Source§type Error = LongDatatype
type Error = LongDatatype
The type returned in the event of a conversion error.
Source§fn try_from(value: LongDatatype) -> Result<Self, LongDatatype>
fn try_from(value: LongDatatype) -> Result<Self, LongDatatype>
Performs the conversion.
impl Copy for IntDatatype
impl Eq for IntDatatype
impl StructuralPartialEq for IntDatatype
Auto Trait Implementations§
impl Freeze for IntDatatype
impl RefUnwindSafe for IntDatatype
impl Send for IntDatatype
impl Sync for IntDatatype
impl Unpin for IntDatatype
impl UnwindSafe for IntDatatype
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