#[repr(transparent)]pub struct FixedUtf16CodeUnitsRefEndian<'a, E, const N: usize>(pub &'a [E; N]);Available on crate features
text_fixed and text_utf16 only.Expand description
A borrowed reference to exactly N UTF-16 code units stored with explicit endianness.
Tuple Fields§
§0: &'a [E; N]Implementations§
Trait Implementations§
Source§impl<'a, E: Clone, const N: usize> Clone for FixedUtf16CodeUnitsRefEndian<'a, E, N>
Available on crate features text_utf8 or text_utf16 or text_utf32 or text_fixed only.
impl<'a, E: Clone, const N: usize> Clone for FixedUtf16CodeUnitsRefEndian<'a, E, N>
Available on crate features
text_utf8 or text_utf16 or text_utf32 or text_fixed only.Source§fn clone(&self) -> FixedUtf16CodeUnitsRefEndian<'a, E, N>
fn clone(&self) -> FixedUtf16CodeUnitsRefEndian<'a, E, N>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a, E: Debug, const N: usize> Debug for FixedUtf16CodeUnitsRefEndian<'a, E, N>
Available on crate features text_utf8 or text_utf16 or text_utf32 or text_fixed only.
impl<'a, E: Debug, const N: usize> Debug for FixedUtf16CodeUnitsRefEndian<'a, E, N>
Available on crate features
text_utf8 or text_utf16 or text_utf32 or text_fixed only.Source§impl<'a, E, const N: usize> From<&'a [E; N]> for FixedUtf16CodeUnitsRefEndian<'a, E, N>
Available on crate features text_utf8 or text_utf16 or text_utf32 or text_fixed only.
impl<'a, E, const N: usize> From<&'a [E; N]> for FixedUtf16CodeUnitsRefEndian<'a, E, N>
Available on crate features
text_utf8 or text_utf16 or text_utf32 or text_fixed only.Source§impl<'a, E: Hash, const N: usize> Hash for FixedUtf16CodeUnitsRefEndian<'a, E, N>
Available on crate features text_utf8 or text_utf16 or text_utf32 or text_fixed only.
impl<'a, E: Hash, const N: usize> Hash for FixedUtf16CodeUnitsRefEndian<'a, E, N>
Available on crate features
text_utf8 or text_utf16 or text_utf32 or text_fixed only.Source§impl<'a, E: Ord, const N: usize> Ord for FixedUtf16CodeUnitsRefEndian<'a, E, N>
Available on crate features text_utf8 or text_utf16 or text_utf32 or text_fixed only.
impl<'a, E: Ord, const N: usize> Ord for FixedUtf16CodeUnitsRefEndian<'a, E, N>
Available on crate features
text_utf8 or text_utf16 or text_utf32 or text_fixed only.Source§fn cmp(&self, other: &FixedUtf16CodeUnitsRefEndian<'a, E, N>) -> Ordering
fn cmp(&self, other: &FixedUtf16CodeUnitsRefEndian<'a, E, N>) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<'a, E: PartialEq, const N: usize> PartialEq for FixedUtf16CodeUnitsRefEndian<'a, E, N>
Available on crate features text_utf8 or text_utf16 or text_utf32 or text_fixed only.
impl<'a, E: PartialEq, const N: usize> PartialEq for FixedUtf16CodeUnitsRefEndian<'a, E, N>
Available on crate features
text_utf8 or text_utf16 or text_utf32 or text_fixed only.Source§fn eq(&self, other: &FixedUtf16CodeUnitsRefEndian<'a, E, N>) -> bool
fn eq(&self, other: &FixedUtf16CodeUnitsRefEndian<'a, E, N>) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl<'a, E: PartialOrd, const N: usize> PartialOrd for FixedUtf16CodeUnitsRefEndian<'a, E, N>
Available on crate features text_utf8 or text_utf16 or text_utf32 or text_fixed only.
impl<'a, E: PartialOrd, const N: usize> PartialOrd for FixedUtf16CodeUnitsRefEndian<'a, E, N>
Available on crate features
text_utf8 or text_utf16 or text_utf32 or text_fixed only.impl<'a, E: Copy, const N: usize> Copy for FixedUtf16CodeUnitsRefEndian<'a, E, N>
Available on crate features
text_utf8 or text_utf16 or text_utf32 or text_fixed only.impl<'a, E: Eq, const N: usize> Eq for FixedUtf16CodeUnitsRefEndian<'a, E, N>
Available on crate features
text_utf8 or text_utf16 or text_utf32 or text_fixed only.impl<'a, E, const N: usize> StructuralPartialEq for FixedUtf16CodeUnitsRefEndian<'a, E, N>
Available on crate features
text_utf8 or text_utf16 or text_utf32 or text_fixed only.Auto Trait Implementations§
impl<'a, E, const N: usize> Freeze for FixedUtf16CodeUnitsRefEndian<'a, E, N>
impl<'a, E, const N: usize> RefUnwindSafe for FixedUtf16CodeUnitsRefEndian<'a, E, N>where
E: RefUnwindSafe,
impl<'a, E, const N: usize> Send for FixedUtf16CodeUnitsRefEndian<'a, E, N>where
E: Sync,
impl<'a, E, const N: usize> Sync for FixedUtf16CodeUnitsRefEndian<'a, E, N>where
E: Sync,
impl<'a, E, const N: usize> Unpin for FixedUtf16CodeUnitsRefEndian<'a, E, N>
impl<'a, E, const N: usize> UnwindSafe for FixedUtf16CodeUnitsRefEndian<'a, E, N>where
E: RefUnwindSafe,
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