pub struct Big;
Trait Implementations§
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>,
Source§impl Ord for Big
impl Ord for Big
Source§impl PartialOrd for Big
impl PartialOrd for Big
impl Copy for Big
impl Eq 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 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