Expand description
NB: This is not a full INTEGER implementation, needs the leading tag + length. We do it this way because the flexiber derive macro currently expects fields to be tagged.
Tuple Fields
0: &'a [u8]
Trait Implementations
sourceimpl<'a> Clone for BigEndianInteger<'a>
impl<'a> Clone for BigEndianInteger<'a>
sourcefn clone(&self) -> BigEndianInteger<'a>
fn clone(&self) -> BigEndianInteger<'a>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Encodable for BigEndianInteger<'_>
impl Encodable for BigEndianInteger<'_>
sourceimpl<'a> PartialEq<BigEndianInteger<'a>> for BigEndianInteger<'a>
impl<'a> PartialEq<BigEndianInteger<'a>> for BigEndianInteger<'a>
sourcefn eq(&self, other: &BigEndianInteger<'a>) -> bool
fn eq(&self, other: &BigEndianInteger<'a>) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &BigEndianInteger<'a>) -> bool
fn ne(&self, other: &BigEndianInteger<'a>) -> bool
This method tests for !=
.
impl<'a> Copy for BigEndianInteger<'a>
impl<'a> Eq for BigEndianInteger<'a>
impl<'a> StructuralEq for BigEndianInteger<'a>
impl<'a> StructuralPartialEq for BigEndianInteger<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for BigEndianInteger<'a>
impl<'a> Send for BigEndianInteger<'a>
impl<'a> Sync for BigEndianInteger<'a>
impl<'a> Unpin for BigEndianInteger<'a>
impl<'a> UnwindSafe for BigEndianInteger<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more