pub enum IntegerValueRef<'a> {
Show 13 variants
Integer(&'a Integer),
NonPositiveInteger(&'a NonPositiveInteger),
NegativeInteger(&'a NegativeInteger),
NonNegativeInteger(&'a NonNegativeInteger),
PositiveInteger(&'a PositiveInteger),
UnsignedLong(UnsignedLong),
UnsignedInt(UnsignedInt),
UnsignedShort(UnsignedShort),
UnsignedByte(UnsignedByte),
Long(Long),
Int(Int),
Short(Short),
Byte(Byte),
}
Expand description
Any specialized Integer
value reference.
Variants§
Integer(&'a Integer)
NonPositiveInteger(&'a NonPositiveInteger)
NegativeInteger(&'a NegativeInteger)
NonNegativeInteger(&'a NonNegativeInteger)
PositiveInteger(&'a PositiveInteger)
UnsignedLong(UnsignedLong)
UnsignedInt(UnsignedInt)
UnsignedShort(UnsignedShort)
UnsignedByte(UnsignedByte)
Long(Long)
Int(Int)
Short(Short)
Byte(Byte)
Implementations§
Source§impl<'a> IntegerValueRef<'a>
impl<'a> IntegerValueRef<'a>
pub fn datatype(&self) -> IntegerDatatype
pub fn cloned(&self) -> IntegerValue
Trait Implementations§
Source§impl<'a> Clone for IntegerValueRef<'a>
impl<'a> Clone for IntegerValueRef<'a>
Source§fn clone(&self) -> IntegerValueRef<'a>
fn clone(&self) -> IntegerValueRef<'a>
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<'a> Debug for IntegerValueRef<'a>
impl<'a> Debug for IntegerValueRef<'a>
Source§impl<'a> Display for IntegerValueRef<'a>
impl<'a> Display for IntegerValueRef<'a>
Source§impl<'a> From<IntegerValueRef<'a>> for DecimalValueRef<'a>
impl<'a> From<IntegerValueRef<'a>> for DecimalValueRef<'a>
Source§fn from(value: IntegerValueRef<'a>) -> Self
fn from(value: IntegerValueRef<'a>) -> Self
Converts to this type from the input type.
Source§impl<'a> From<IntegerValueRef<'a>> for ValueRef<'a>
impl<'a> From<IntegerValueRef<'a>> for ValueRef<'a>
Source§fn from(value: IntegerValueRef<'a>) -> Self
fn from(value: IntegerValueRef<'a>) -> Self
Converts to this type from the input type.
Source§impl<'a> From<NonNegativeIntegerValueRef<'a>> for IntegerValueRef<'a>
impl<'a> From<NonNegativeIntegerValueRef<'a>> for IntegerValueRef<'a>
Source§fn from(value: NonNegativeIntegerValueRef<'a>) -> Self
fn from(value: NonNegativeIntegerValueRef<'a>) -> Self
Converts to this type from the input type.
Source§impl<'a> From<NonPositiveIntegerValueRef<'a>> for IntegerValueRef<'a>
impl<'a> From<NonPositiveIntegerValueRef<'a>> for IntegerValueRef<'a>
Source§fn from(value: NonPositiveIntegerValueRef<'a>) -> Self
fn from(value: NonPositiveIntegerValueRef<'a>) -> Self
Converts to this type from the input type.
Source§impl<'a> TryFrom<DecimalValueRef<'a>> for IntegerValueRef<'a>
impl<'a> TryFrom<DecimalValueRef<'a>> for IntegerValueRef<'a>
Source§type Error = DecimalValueRef<'a>
type Error = DecimalValueRef<'a>
The type returned in the event of a conversion error.
Source§fn try_from(value: DecimalValueRef<'a>) -> Result<Self, DecimalValueRef<'a>>
fn try_from(value: DecimalValueRef<'a>) -> Result<Self, DecimalValueRef<'a>>
Performs the conversion.
Source§impl<'a> TryFrom<IntegerValueRef<'a>> for NonNegativeIntegerValueRef<'a>
impl<'a> TryFrom<IntegerValueRef<'a>> for NonNegativeIntegerValueRef<'a>
Source§type Error = IntegerValueRef<'a>
type Error = IntegerValueRef<'a>
The type returned in the event of a conversion error.
Source§fn try_from(value: IntegerValueRef<'a>) -> Result<Self, IntegerValueRef<'a>>
fn try_from(value: IntegerValueRef<'a>) -> Result<Self, IntegerValueRef<'a>>
Performs the conversion.
Source§impl<'a> TryFrom<IntegerValueRef<'a>> for NonPositiveIntegerValueRef<'a>
impl<'a> TryFrom<IntegerValueRef<'a>> for NonPositiveIntegerValueRef<'a>
Source§type Error = IntegerValueRef<'a>
type Error = IntegerValueRef<'a>
The type returned in the event of a conversion error.
Source§fn try_from(value: IntegerValueRef<'a>) -> Result<Self, IntegerValueRef<'a>>
fn try_from(value: IntegerValueRef<'a>) -> Result<Self, IntegerValueRef<'a>>
Performs the conversion.
Source§impl<'a> TryFrom<ValueRef<'a>> for IntegerValueRef<'a>
impl<'a> TryFrom<ValueRef<'a>> for IntegerValueRef<'a>
Source§impl<'a> XsdValue for IntegerValueRef<'a>
impl<'a> XsdValue for IntegerValueRef<'a>
impl<'a> Copy for IntegerValueRef<'a>
Auto Trait Implementations§
impl<'a> Freeze for IntegerValueRef<'a>
impl<'a> RefUnwindSafe for IntegerValueRef<'a>
impl<'a> Send for IntegerValueRef<'a>
impl<'a> Sync for IntegerValueRef<'a>
impl<'a> Unpin for IntegerValueRef<'a>
impl<'a> UnwindSafe for IntegerValueRef<'a>
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