pub struct Big;Expand description
Big endian.
Trait Implementations§
impl Copy for Big
Source§impl Endian for Big
impl Endian for Big
Source§fn convert_u16(&self, bytes: [u8; 2]) -> u16
fn convert_u16(&self, bytes: [u8; 2]) -> u16
Convert a
u16 from the source endian to the native endian.Source§fn convert_u32(&self, bytes: [u8; 4]) -> u32
fn convert_u32(&self, bytes: [u8; 4]) -> u32
Convert a
u32 from the source endian to the native endian.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