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