pub enum ShortDatatype {
Short,
Byte,
}Expand description
Short datatype variants.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for ShortDatatype
impl Clone for ShortDatatype
Source§fn clone(&self) -> ShortDatatype
fn clone(&self) -> ShortDatatype
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 ShortDatatype
impl Debug for ShortDatatype
Source§impl From<ShortDatatype> for Datatype
impl From<ShortDatatype> for Datatype
Source§fn from(value: ShortDatatype) -> Self
fn from(value: ShortDatatype) -> Self
Converts to this type from the input type.
Source§impl From<ShortDatatype> for DecimalDatatype
impl From<ShortDatatype> for DecimalDatatype
Source§fn from(value: ShortDatatype) -> Self
fn from(value: ShortDatatype) -> 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 From<ShortDatatype> for IntegerDatatype
impl From<ShortDatatype> for IntegerDatatype
Source§fn from(value: ShortDatatype) -> Self
fn from(value: ShortDatatype) -> Self
Converts to this type from the input type.
Source§impl From<ShortDatatype> for LongDatatype
impl From<ShortDatatype> for LongDatatype
Source§fn from(value: ShortDatatype) -> Self
fn from(value: ShortDatatype) -> Self
Converts to this type from the input type.
Source§impl Hash for ShortDatatype
impl Hash for ShortDatatype
Source§impl Ord for ShortDatatype
impl Ord for ShortDatatype
Source§fn cmp(&self, other: &ShortDatatype) -> Ordering
fn cmp(&self, other: &ShortDatatype) -> 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 ShortDatatype
impl PartialEq for ShortDatatype
Source§impl PartialOrd for ShortDatatype
impl PartialOrd for ShortDatatype
Source§impl TryFrom<Datatype> for ShortDatatype
impl TryFrom<Datatype> for ShortDatatype
Source§impl TryFrom<DecimalDatatype> for ShortDatatype
impl TryFrom<DecimalDatatype> for ShortDatatype
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 ShortDatatype
impl TryFrom<IntegerDatatype> for ShortDatatype
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 ShortDatatype
impl TryFrom<LongDatatype> for ShortDatatype
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 ShortDatatype
impl Eq for ShortDatatype
impl StructuralPartialEq for ShortDatatype
Auto Trait Implementations§
impl Freeze for ShortDatatype
impl RefUnwindSafe for ShortDatatype
impl Send for ShortDatatype
impl Sync for ShortDatatype
impl Unpin for ShortDatatype
impl UnwindSafe for ShortDatatype
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