Enum rmp::value::Integer
[−]
[src]
pub enum Integer { U64(u64), I64(i64), }
Integer representation.
Variants
U64(u64)
Every non-negative integer is treated as u64, even if it fits in i64.
I64(i64)
Every negative integer is treated as i64.
Trait Implementations
impl PartialEq for Integer
[src]
fn eq(&self, __arg_0: &Integer) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Integer) -> bool
This method tests for !=
.
impl Debug for Integer
[src]
impl Clone for Integer
[src]
fn clone(&self) -> Integer
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more