Struct xsd_types::value::NonNegativeInteger
source · pub struct NonNegativeInteger(_);Implementations§
source§impl NonNegativeInteger
impl NonNegativeInteger
sourcepub unsafe fn new_unchecked(n: BigInt) -> Self
pub unsafe fn new_unchecked(n: BigInt) -> Self
pub fn zero() -> Self
pub fn is_zero(&self) -> bool
pub fn non_negative_integer_type(&self) -> Option<NonNegativeIntegerDatatype>
sourcepub fn lexical_representation(&self) -> NonNegativeIntegerBuf
pub fn lexical_representation(&self) -> NonNegativeIntegerBuf
Returns a lexical representation of this non negative integer.
Trait Implementations§
source§impl Add<NonNegativeInteger> for NonNegativeInteger
impl Add<NonNegativeInteger> for NonNegativeInteger
source§impl Add<i16> for NonNegativeInteger
impl Add<i16> for NonNegativeInteger
source§impl Add<i32> for NonNegativeInteger
impl Add<i32> for NonNegativeInteger
source§impl Add<i64> for NonNegativeInteger
impl Add<i64> for NonNegativeInteger
source§impl Add<i8> for NonNegativeInteger
impl Add<i8> for NonNegativeInteger
source§impl Add<isize> for NonNegativeInteger
impl Add<isize> for NonNegativeInteger
source§impl Add<u16> for NonNegativeInteger
impl Add<u16> for NonNegativeInteger
source§impl Add<u32> for NonNegativeInteger
impl Add<u32> for NonNegativeInteger
source§impl Add<u64> for NonNegativeInteger
impl Add<u64> for NonNegativeInteger
source§impl Add<u8> for NonNegativeInteger
impl Add<u8> for NonNegativeInteger
source§impl Add<usize> for NonNegativeInteger
impl Add<usize> for NonNegativeInteger
source§impl AsRef<BigInt> for NonNegativeInteger
impl AsRef<BigInt> for NonNegativeInteger
source§impl Borrow<BigInt> for NonNegativeInteger
impl Borrow<BigInt> for NonNegativeInteger
source§impl Clone for NonNegativeInteger
impl Clone for NonNegativeInteger
source§fn clone(&self) -> NonNegativeInteger
fn clone(&self) -> NonNegativeInteger
Returns a copy 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 Debug for NonNegativeInteger
impl Debug for NonNegativeInteger
source§impl Display for NonNegativeInteger
impl Display for NonNegativeInteger
source§impl Div<NonNegativeInteger> for NonNegativeInteger
impl Div<NonNegativeInteger> for NonNegativeInteger
source§impl Div<i16> for NonNegativeInteger
impl Div<i16> for NonNegativeInteger
source§impl Div<i32> for NonNegativeInteger
impl Div<i32> for NonNegativeInteger
source§impl Div<i64> for NonNegativeInteger
impl Div<i64> for NonNegativeInteger
source§impl Div<i8> for NonNegativeInteger
impl Div<i8> for NonNegativeInteger
source§impl Div<isize> for NonNegativeInteger
impl Div<isize> for NonNegativeInteger
source§impl Div<u16> for NonNegativeInteger
impl Div<u16> for NonNegativeInteger
source§impl Div<u32> for NonNegativeInteger
impl Div<u32> for NonNegativeInteger
source§impl Div<u64> for NonNegativeInteger
impl Div<u64> for NonNegativeInteger
source§impl Div<u8> for NonNegativeInteger
impl Div<u8> for NonNegativeInteger
source§impl Div<usize> for NonNegativeInteger
impl Div<usize> for NonNegativeInteger
source§impl<'a> From<&'a NonNegativeInteger> for NonNegativeInteger
impl<'a> From<&'a NonNegativeInteger> for NonNegativeInteger
source§fn from(value: &'a NonNegativeInteger) -> Self
fn from(value: &'a NonNegativeInteger) -> Self
Converts to this type from the input type.
source§impl From<NonNegativeInteger> for BigInt
impl From<NonNegativeInteger> for BigInt
source§fn from(value: NonNegativeInteger) -> Self
fn from(value: NonNegativeInteger) -> Self
Converts to this type from the input type.
source§impl From<NonNegativeInteger> for Integer
impl From<NonNegativeInteger> for Integer
source§fn from(value: NonNegativeInteger) -> Self
fn from(value: NonNegativeInteger) -> Self
Converts to this type from the input type.
source§impl From<NonNegativeIntegerBuf> for NonNegativeInteger
impl From<NonNegativeIntegerBuf> for NonNegativeInteger
source§fn from(value: NonNegativeIntegerBuf) -> Self
fn from(value: NonNegativeIntegerBuf) -> Self
Converts to this type from the input type.
source§impl FromStr for NonNegativeInteger
impl FromStr for NonNegativeInteger
source§impl Hash for NonNegativeInteger
impl Hash for NonNegativeInteger
source§impl Mul<NonNegativeInteger> for NonNegativeInteger
impl Mul<NonNegativeInteger> for NonNegativeInteger
source§impl Mul<i16> for NonNegativeInteger
impl Mul<i16> for NonNegativeInteger
source§impl Mul<i32> for NonNegativeInteger
impl Mul<i32> for NonNegativeInteger
source§impl Mul<i64> for NonNegativeInteger
impl Mul<i64> for NonNegativeInteger
source§impl Mul<i8> for NonNegativeInteger
impl Mul<i8> for NonNegativeInteger
source§impl Mul<isize> for NonNegativeInteger
impl Mul<isize> for NonNegativeInteger
source§impl Mul<u16> for NonNegativeInteger
impl Mul<u16> for NonNegativeInteger
source§impl Mul<u32> for NonNegativeInteger
impl Mul<u32> for NonNegativeInteger
source§impl Mul<u64> for NonNegativeInteger
impl Mul<u64> for NonNegativeInteger
source§impl Mul<u8> for NonNegativeInteger
impl Mul<u8> for NonNegativeInteger
source§impl Mul<usize> for NonNegativeInteger
impl Mul<usize> for NonNegativeInteger
source§impl Ord for NonNegativeInteger
impl Ord for NonNegativeInteger
source§fn cmp(&self, other: &NonNegativeInteger) -> Ordering
fn cmp(&self, other: &NonNegativeInteger) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<NonNegativeInteger> for NonNegativeInteger
impl PartialEq<NonNegativeInteger> for NonNegativeInteger
source§fn eq(&self, other: &NonNegativeInteger) -> bool
fn eq(&self, other: &NonNegativeInteger) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<NonNegativeInteger> for NonNegativeInteger
impl PartialOrd<NonNegativeInteger> for NonNegativeInteger
source§fn partial_cmp(&self, other: &NonNegativeInteger) -> Option<Ordering>
fn partial_cmp(&self, other: &NonNegativeInteger) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read more