pub struct NativeEndian;Expand description
Type-level marker for native-endian byte order.
§Examples
use qubit_codec::ByteOrder;
use qubit_codec::ByteOrderSpec;
use qubit_codec::NativeEndian;
let _: NativeEndian = Default::default();
assert_eq!(NativeEndian::ORDER, ByteOrder::NativeEndian);Trait Implementations§
Source§impl ByteOrderSpec for NativeEndian
impl ByteOrderSpec for NativeEndian
Source§impl Clone for NativeEndian
impl Clone for NativeEndian
impl Copy for NativeEndian
Source§impl Debug for NativeEndian
impl Debug for NativeEndian
Source§impl Default for NativeEndian
impl Default for NativeEndian
impl Eq for NativeEndian
Source§impl PartialEq for NativeEndian
impl PartialEq for NativeEndian
impl StructuralPartialEq for NativeEndian
Auto Trait Implementations§
impl Forget for NativeEndian
impl Freeze for NativeEndian
impl RefUnwindSafe for NativeEndian
impl Send for NativeEndian
impl Sync for NativeEndian
impl Unpin for NativeEndian
impl UnsafeUnpin for NativeEndian
impl UnwindSafe for NativeEndian
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