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: PartialEq + Scalar> PartialEq for BigEndian<T>
impl<T: PartialEq + Scalar> PartialEq for BigEndian<T>
source§impl<T: Scalar + Copy + PartialOrd + PartialEq> PartialOrd for BigEndian<T>
impl<T: Scalar + Copy + PartialOrd + PartialEq> PartialOrd for BigEndian<T>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl<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