pub enum NonNegativeIntegerValueRef<'a> {
NonNegativeInteger(&'a NonNegativeInteger),
PositiveInteger(&'a PositiveInteger),
UnsignedLong(UnsignedLong),
UnsignedInt(UnsignedInt),
UnsignedShort(UnsignedShort),
UnsignedByte(UnsignedByte),
}
Expand description
Any specialized NonNegativeInteger
value reference.
Variants§
NonNegativeInteger(&'a NonNegativeInteger)
PositiveInteger(&'a PositiveInteger)
UnsignedLong(UnsignedLong)
UnsignedInt(UnsignedInt)
UnsignedShort(UnsignedShort)
UnsignedByte(UnsignedByte)
Implementations§
Source§impl<'a> NonNegativeIntegerValueRef<'a>
impl<'a> NonNegativeIntegerValueRef<'a>
pub fn datatype(&self) -> NonNegativeIntegerDatatype
pub fn cloned(&self) -> NonNegativeIntegerValue
Trait Implementations§
Source§impl<'a> Clone for NonNegativeIntegerValueRef<'a>
impl<'a> Clone for NonNegativeIntegerValueRef<'a>
Source§fn clone(&self) -> NonNegativeIntegerValueRef<'a>
fn clone(&self) -> NonNegativeIntegerValueRef<'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 NonNegativeIntegerValueRef<'a>
impl<'a> Debug for NonNegativeIntegerValueRef<'a>
Source§impl<'a> Display for NonNegativeIntegerValueRef<'a>
impl<'a> Display for NonNegativeIntegerValueRef<'a>
Source§impl<'a> From<NonNegativeIntegerValueRef<'a>> for DecimalValueRef<'a>
impl<'a> From<NonNegativeIntegerValueRef<'a>> for DecimalValueRef<'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<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<NonNegativeIntegerValueRef<'a>> for ValueRef<'a>
impl<'a> From<NonNegativeIntegerValueRef<'a>> for ValueRef<'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> TryFrom<DecimalValueRef<'a>> for NonNegativeIntegerValueRef<'a>
impl<'a> TryFrom<DecimalValueRef<'a>> for NonNegativeIntegerValueRef<'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<ValueRef<'a>> for NonNegativeIntegerValueRef<'a>
impl<'a> TryFrom<ValueRef<'a>> for NonNegativeIntegerValueRef<'a>
Source§impl<'a> XsdValue for NonNegativeIntegerValueRef<'a>
impl<'a> XsdValue for NonNegativeIntegerValueRef<'a>
impl<'a> Copy for NonNegativeIntegerValueRef<'a>
Auto Trait Implementations§
impl<'a> Freeze for NonNegativeIntegerValueRef<'a>
impl<'a> RefUnwindSafe for NonNegativeIntegerValueRef<'a>
impl<'a> Send for NonNegativeIntegerValueRef<'a>
impl<'a> Sync for NonNegativeIntegerValueRef<'a>
impl<'a> Unpin for NonNegativeIntegerValueRef<'a>
impl<'a> UnwindSafe for NonNegativeIntegerValueRef<'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