Enum cbor::CborUnsigned [−][src]
An unsigned integer (major type 0).
Variants
UInt8(u8)
Unsigned 8 bit integer.
UInt16(u16)
Unsigned 16 bit integer.
UInt32(u32)
Unsigned 32 bit integer.
UInt64(u64)
Unsigned 64 bit integer.
Methods
impl CborUnsigned
[src]
impl CborUnsigned
Trait Implementations
impl Clone for CborUnsigned
[src]
impl Clone for CborUnsigned
fn clone(&self) -> CborUnsigned
[src]
fn clone(&self) -> CborUnsigned
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Copy for CborUnsigned
[src]
impl Copy for CborUnsigned
impl Debug for CborUnsigned
[src]
impl Debug for CborUnsigned
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Eq for CborUnsigned
[src]
impl Eq for CborUnsigned
impl Ord for CborUnsigned
[src]
impl Ord for CborUnsigned
fn cmp(&self, other: &CborUnsigned) -> Ordering
[src]
fn cmp(&self, other: &CborUnsigned) -> Ordering
This method returns an Ordering
between self
and other
. Read more
fn max(self, other: Self) -> Self
1.21.0[src]
fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self
1.21.0[src]
fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
impl PartialEq for CborUnsigned
[src]
impl PartialEq for CborUnsigned
fn eq(&self, other: &CborUnsigned) -> bool
[src]
fn eq(&self, other: &CborUnsigned) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &CborUnsigned) -> bool
[src]
fn ne(&self, other: &CborUnsigned) -> bool
This method tests for !=
.
impl PartialOrd for CborUnsigned
[src]
impl PartialOrd for CborUnsigned
fn partial_cmp(&self, other: &CborUnsigned) -> Option<Ordering>
[src]
fn partial_cmp(&self, other: &CborUnsigned) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, other: &CborUnsigned) -> bool
[src]
fn lt(&self, other: &CborUnsigned) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, other: &CborUnsigned) -> bool
[src]
fn le(&self, other: &CborUnsigned) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
fn gt(&self, other: &CborUnsigned) -> bool
[src]
fn gt(&self, other: &CborUnsigned) -> bool
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
fn ge(&self, other: &CborUnsigned) -> bool
[src]
fn ge(&self, other: &CborUnsigned) -> bool
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
impl Decodable for CborUnsigned
[src]
impl Decodable for CborUnsigned
fn decode<__D: Decoder>(d: &mut __D) -> Result<CborUnsigned, __D::Error>
[src]
fn decode<__D: Decoder>(d: &mut __D) -> Result<CborUnsigned, __D::Error>
Deserialize a value using a Decoder
.
impl Encodable for CborUnsigned
[src]
impl Encodable for CborUnsigned
Auto Trait Implementations
impl Send for CborUnsigned
impl Send for CborUnsigned
impl Sync for CborUnsigned
impl Sync for CborUnsigned