pub struct Unsigned(/* private fields */);
Expand description
An unsigned integer value
This type encodes values in the range 0..2.pow(124)
by using the first 4
bits to denote an unsigned byte length
. This length ranges from 0..=15
.
The remaining 4 bits of the first byte and any additional bytes are then
used to store the integer in big-endian encoding.
Trait Implementations§
Source§impl Ord for Unsigned
impl Ord for Unsigned
Source§impl PartialOrd for Unsigned
impl PartialOrd for Unsigned
Source§impl Variable for Unsigned
impl Variable for Unsigned
impl Copy for Unsigned
impl Eq for Unsigned
impl StructuralPartialEq for Unsigned
Auto Trait Implementations§
impl Freeze for Unsigned
impl RefUnwindSafe for Unsigned
impl Send for Unsigned
impl Sync for Unsigned
impl Unpin for Unsigned
impl UnwindSafe for Unsigned
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