pub struct NativeEndian;Expand description
Type-level marker for native-endian byte order.
§Examples
use qubit_codec::{ByteOrder, ByteOrderSpec, 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
Source§fn clone(&self) -> NativeEndian
fn clone(&self) -> NativeEndian
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for NativeEndian
Source§impl Debug for NativeEndian
impl Debug for NativeEndian
Source§impl Default for NativeEndian
impl Default for NativeEndian
Source§fn default() -> NativeEndian
fn default() -> NativeEndian
Returns the “default value” for a type. Read more
impl Eq for NativeEndian
Source§impl PartialEq for NativeEndian
impl PartialEq for NativeEndian
impl StructuralPartialEq for NativeEndian
Auto Trait Implementations§
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