Struct font_types::BigEndian
source · pub struct BigEndian<T: Scalar>(/* private fields */);
Expand description
A wrapper around raw big-endian bytes for some type.
Implementations§
Trait Implementations§
source§impl<T: Scalar> FixedSize for BigEndian<T>
impl<T: Scalar> FixedSize for BigEndian<T>
source§const RAW_BYTE_LEN: usize = T::RAW_BYTE_LEN
const RAW_BYTE_LEN: usize = T::RAW_BYTE_LEN
The raw size of this type, in bytes. Read more
source§impl<T: Scalar + Copy + Ord + Eq> Ord for BigEndian<T>
impl<T: Scalar + Copy + Ord + Eq> Ord for BigEndian<T>
source§impl<T: Scalar + Copy + PartialOrd + PartialEq> PartialOrd for BigEndian<T>
impl<T: Scalar + Copy + PartialOrd + PartialEq> PartialOrd for BigEndian<T>
impl<T> AnyBitPattern for BigEndian<T>
impl<T: Copy + Scalar> Copy for BigEndian<T>
impl<T: Eq + Scalar> Eq for BigEndian<T>
impl<T: Scalar> StructuralPartialEq for BigEndian<T>
Auto Trait Implementations§
impl<T> Freeze for BigEndian<T>
impl<T> RefUnwindSafe for BigEndian<T>
impl<T> Send for BigEndian<T>
impl<T> Sync for BigEndian<T>
impl<T> Unpin for BigEndian<T>
impl<T> UnwindSafe for BigEndian<T>
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
source§impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
source§type Bits = T
type Bits = T
Self
must have the same layout as the specified Bits
except for
the possible invalid bit patterns being checked during
is_valid_bit_pattern
.source§fn is_valid_bit_pattern(_bits: &T) -> bool
fn is_valid_bit_pattern(_bits: &T) -> bool
If this function returns true, then it must be valid to reinterpret
bits
as &Self
.source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)