pub struct Big;Trait Implementations§
impl Copy for Big
Source§impl Endian for Big
impl Endian for Big
const is_big: bool = true
fn read<N: 'static + PrimInt + NumAssign + ShlAssign<usize>>(bs: &[u8]) -> Nwhere
u8: AsPrimitive<N>,
fn write<N>(bs: &mut [u8], n: N)
const is_lil: bool = _
fn from<N>(ns: &[N], bs: &mut [u8])
fn to<N: 'static + PrimInt + NumAssign + ShlAssign<usize>>(
bs: &[u8],
ns: &mut [N],
)where
u8: AsPrimitive<N>,
impl Eq for Big
Source§impl Ord for Big
impl Ord for Big
1.21.0 (const: unstable) · 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 PartialOrd for Big
impl PartialOrd for Big
impl StructuralPartialEq for Big
Auto Trait Implementations§
impl Freeze for Big
impl RefUnwindSafe for Big
impl Send for Big
impl Sync for Big
impl Unpin for Big
impl UnsafeUnpin for Big
impl UnwindSafe for Big
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