pub enum UnsignedShortValue {
UnsignedShort(UnsignedShort),
UnsignedByte(UnsignedByte),
}
Expand description
Any specialized UnsignedShort
value.
Variants§
UnsignedShort(UnsignedShort)
UnsignedByte(UnsignedByte)
Implementations§
Source§impl UnsignedShortValue
impl UnsignedShortValue
pub fn datatype(&self) -> UnsignedShortDatatype
Trait Implementations§
Source§impl Clone for UnsignedShortValue
impl Clone for UnsignedShortValue
Source§fn clone(&self) -> UnsignedShortValue
fn clone(&self) -> UnsignedShortValue
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 UnsignedShortValue
impl Debug for UnsignedShortValue
Source§impl Display for UnsignedShortValue
impl Display for UnsignedShortValue
Source§impl From<UnsignedShortValue> for DecimalValue
impl From<UnsignedShortValue> for DecimalValue
Source§fn from(value: UnsignedShortValue) -> Self
fn from(value: UnsignedShortValue) -> Self
Converts to this type from the input type.
Source§impl From<UnsignedShortValue> for IntegerValue
impl From<UnsignedShortValue> for IntegerValue
Source§fn from(value: UnsignedShortValue) -> Self
fn from(value: UnsignedShortValue) -> Self
Converts to this type from the input type.
Source§impl From<UnsignedShortValue> for NonNegativeIntegerValue
impl From<UnsignedShortValue> for NonNegativeIntegerValue
Source§fn from(value: UnsignedShortValue) -> Self
fn from(value: UnsignedShortValue) -> Self
Converts to this type from the input type.
Source§impl From<UnsignedShortValue> for UnsignedIntValue
impl From<UnsignedShortValue> for UnsignedIntValue
Source§fn from(value: UnsignedShortValue) -> Self
fn from(value: UnsignedShortValue) -> Self
Converts to this type from the input type.
Source§impl From<UnsignedShortValue> for UnsignedLongValue
impl From<UnsignedShortValue> for UnsignedLongValue
Source§fn from(value: UnsignedShortValue) -> Self
fn from(value: UnsignedShortValue) -> Self
Converts to this type from the input type.
Source§impl From<UnsignedShortValue> for Value
impl From<UnsignedShortValue> for Value
Source§fn from(value: UnsignedShortValue) -> Self
fn from(value: UnsignedShortValue) -> Self
Converts to this type from the input type.
Source§impl TryFrom<DecimalValue> for UnsignedShortValue
impl TryFrom<DecimalValue> for UnsignedShortValue
Source§type Error = DecimalValue
type Error = DecimalValue
The type returned in the event of a conversion error.
Source§fn try_from(value: DecimalValue) -> Result<Self, DecimalValue>
fn try_from(value: DecimalValue) -> Result<Self, DecimalValue>
Performs the conversion.
Source§impl TryFrom<IntegerValue> for UnsignedShortValue
impl TryFrom<IntegerValue> for UnsignedShortValue
Source§type Error = IntegerValue
type Error = IntegerValue
The type returned in the event of a conversion error.
Source§fn try_from(value: IntegerValue) -> Result<Self, IntegerValue>
fn try_from(value: IntegerValue) -> Result<Self, IntegerValue>
Performs the conversion.
Source§impl TryFrom<NonNegativeIntegerValue> for UnsignedShortValue
impl TryFrom<NonNegativeIntegerValue> for UnsignedShortValue
Source§type Error = NonNegativeIntegerValue
type Error = NonNegativeIntegerValue
The type returned in the event of a conversion error.
Source§fn try_from(
value: NonNegativeIntegerValue,
) -> Result<Self, NonNegativeIntegerValue>
fn try_from( value: NonNegativeIntegerValue, ) -> Result<Self, NonNegativeIntegerValue>
Performs the conversion.
Source§impl TryFrom<UnsignedIntValue> for UnsignedShortValue
impl TryFrom<UnsignedIntValue> for UnsignedShortValue
Source§type Error = UnsignedIntValue
type Error = UnsignedIntValue
The type returned in the event of a conversion error.
Source§fn try_from(value: UnsignedIntValue) -> Result<Self, UnsignedIntValue>
fn try_from(value: UnsignedIntValue) -> Result<Self, UnsignedIntValue>
Performs the conversion.
Source§impl TryFrom<UnsignedLongValue> for UnsignedShortValue
impl TryFrom<UnsignedLongValue> for UnsignedShortValue
Source§type Error = UnsignedLongValue
type Error = UnsignedLongValue
The type returned in the event of a conversion error.
Source§fn try_from(value: UnsignedLongValue) -> Result<Self, UnsignedLongValue>
fn try_from(value: UnsignedLongValue) -> Result<Self, UnsignedLongValue>
Performs the conversion.
Source§impl TryFrom<Value> for UnsignedShortValue
impl TryFrom<Value> for UnsignedShortValue
Auto Trait Implementations§
impl Freeze for UnsignedShortValue
impl RefUnwindSafe for UnsignedShortValue
impl Send for UnsignedShortValue
impl Sync for UnsignedShortValue
impl Unpin for UnsignedShortValue
impl UnwindSafe for UnsignedShortValue
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