pub enum IntValue {
Int(Int),
Short(Short),
Byte(Byte),
}Expand description
Any specialized Int value.
Variants§
Implementations§
Trait Implementations§
source§impl From<IntValue> for DecimalValue
impl From<IntValue> for DecimalValue
source§impl From<IntValue> for IntegerValue
impl From<IntValue> for IntegerValue
source§impl From<ShortValue> for IntValue
impl From<ShortValue> for IntValue
source§fn from(value: ShortValue) -> Self
fn from(value: ShortValue) -> Self
Converts to this type from the input type.
source§impl TryFrom<DecimalValue> for IntValue
impl TryFrom<DecimalValue> for IntValue
§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<IntValue> for ShortValue
impl TryFrom<IntValue> for ShortValue
source§impl TryFrom<IntegerValue> for IntValue
impl TryFrom<IntegerValue> for IntValue
§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.
Auto Trait Implementations§
impl RefUnwindSafe for IntValue
impl Send for IntValue
impl Sync for IntValue
impl Unpin for IntValue
impl UnwindSafe for IntValue
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