pub enum NonPositiveIntegerValueRef<'a> {
NonPositiveInteger(&'a NonPositiveInteger),
NegativeInteger(&'a NegativeInteger),
}
Expand description
Any specialized NonPositiveInteger
value reference.
Variants§
NonPositiveInteger(&'a NonPositiveInteger)
NegativeInteger(&'a NegativeInteger)
Implementations§
Source§impl<'a> NonPositiveIntegerValueRef<'a>
impl<'a> NonPositiveIntegerValueRef<'a>
pub fn datatype(&self) -> NonPositiveIntegerDatatype
pub fn cloned(&self) -> NonPositiveIntegerValue
Trait Implementations§
Source§impl<'a> Clone for NonPositiveIntegerValueRef<'a>
impl<'a> Clone for NonPositiveIntegerValueRef<'a>
Source§fn clone(&self) -> NonPositiveIntegerValueRef<'a>
fn clone(&self) -> NonPositiveIntegerValueRef<'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 NonPositiveIntegerValueRef<'a>
impl<'a> Debug for NonPositiveIntegerValueRef<'a>
Source§impl<'a> Display for NonPositiveIntegerValueRef<'a>
impl<'a> Display for NonPositiveIntegerValueRef<'a>
Source§impl<'a> From<NonPositiveIntegerValueRef<'a>> for DecimalValueRef<'a>
impl<'a> From<NonPositiveIntegerValueRef<'a>> for DecimalValueRef<'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> 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> From<NonPositiveIntegerValueRef<'a>> for ValueRef<'a>
impl<'a> From<NonPositiveIntegerValueRef<'a>> for ValueRef<'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 NonPositiveIntegerValueRef<'a>
impl<'a> TryFrom<DecimalValueRef<'a>> for NonPositiveIntegerValueRef<'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 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 NonPositiveIntegerValueRef<'a>
impl<'a> TryFrom<ValueRef<'a>> for NonPositiveIntegerValueRef<'a>
Source§impl<'a> XsdValue for NonPositiveIntegerValueRef<'a>
impl<'a> XsdValue for NonPositiveIntegerValueRef<'a>
impl<'a> Copy for NonPositiveIntegerValueRef<'a>
Auto Trait Implementations§
impl<'a> Freeze for NonPositiveIntegerValueRef<'a>
impl<'a> RefUnwindSafe for NonPositiveIntegerValueRef<'a>
impl<'a> Send for NonPositiveIntegerValueRef<'a>
impl<'a> Sync for NonPositiveIntegerValueRef<'a>
impl<'a> Unpin for NonPositiveIntegerValueRef<'a>
impl<'a> UnwindSafe for NonPositiveIntegerValueRef<'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