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
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<IntValue> for ShortValue
impl TryFrom<IntValue> for ShortValue
Source§impl TryFrom<IntegerValue> for IntValue
impl TryFrom<IntegerValue> for IntValue
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.
Auto Trait Implementations§
impl Freeze for IntValue
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