pub struct FixedUtf16BePacked<const N: usize>(pub FixedUtf16BeCodeUnits<N>);Available on crate features
text_fixed and text_utf16 only.Expand description
Fixed UTF-16BE code units interpreted as a packed string.
Tuple Fields§
§0: FixedUtf16BeCodeUnits<N>Trait Implementations§
Source§impl<const N: usize> Clone for FixedUtf16BePacked<N>
Available on crate features text_utf8 or text_utf16 or text_utf32 or text_fixed only.
impl<const N: usize> Clone for FixedUtf16BePacked<N>
Available on crate features
text_utf8 or text_utf16 or text_utf32 or text_fixed only.Source§fn clone(&self) -> FixedUtf16BePacked<N>
fn clone(&self) -> FixedUtf16BePacked<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<const N: usize> Debug for FixedUtf16BePacked<N>
Available on crate features text_utf8 or text_utf16 or text_utf32 or text_fixed only.
impl<const N: usize> Debug for FixedUtf16BePacked<N>
Available on crate features
text_utf8 or text_utf16 or text_utf32 or text_fixed only.Source§impl<const N: usize> From<FixedUtf16BePacked<N>> for FixedUtf16BeCodeUnits<N>
Available on crate features text_utf8 or text_utf16 or text_utf32 or text_fixed only.
impl<const N: usize> From<FixedUtf16BePacked<N>> for FixedUtf16BeCodeUnits<N>
Available on crate features
text_utf8 or text_utf16 or text_utf32 or text_fixed only.Source§fn from(v: FixedUtf16BePacked<N>) -> Self
fn from(v: FixedUtf16BePacked<N>) -> Self
Converts to this type from the input type.
Source§impl<const N: usize> From<FixedUtf16CodeUnitsEndian<BigEndian<u16>, N>> for FixedUtf16BePacked<N>
Available on crate features text_utf8 or text_utf16 or text_utf32 or text_fixed only.
impl<const N: usize> From<FixedUtf16CodeUnitsEndian<BigEndian<u16>, N>> for FixedUtf16BePacked<N>
Available on crate features
text_utf8 or text_utf16 or text_utf32 or text_fixed only.Source§fn from(v: FixedUtf16BeCodeUnits<N>) -> Self
fn from(v: FixedUtf16BeCodeUnits<N>) -> Self
Converts to this type from the input type.
Source§impl<const N: usize> Hash for FixedUtf16BePacked<N>
Available on crate features text_utf8 or text_utf16 or text_utf32 or text_fixed only.
impl<const N: usize> Hash for FixedUtf16BePacked<N>
Available on crate features
text_utf8 or text_utf16 or text_utf32 or text_fixed only.Source§impl<const N: usize> Ord for FixedUtf16BePacked<N>
Available on crate features text_utf8 or text_utf16 or text_utf32 or text_fixed only.
impl<const N: usize> Ord for FixedUtf16BePacked<N>
Available on crate features
text_utf8 or text_utf16 or text_utf32 or text_fixed only.Source§fn cmp(&self, other: &FixedUtf16BePacked<N>) -> Ordering
fn cmp(&self, other: &FixedUtf16BePacked<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<const N: usize> PartialEq for FixedUtf16BePacked<N>
Available on crate features text_utf8 or text_utf16 or text_utf32 or text_fixed only.
impl<const N: usize> PartialEq for FixedUtf16BePacked<N>
Available on crate features
text_utf8 or text_utf16 or text_utf32 or text_fixed only.Source§impl<const N: usize> PartialOrd for FixedUtf16BePacked<N>
Available on crate features text_utf8 or text_utf16 or text_utf32 or text_fixed only.
impl<const N: usize> PartialOrd for FixedUtf16BePacked<N>
Available on crate features
text_utf8 or text_utf16 or text_utf32 or text_fixed only.Source§impl<const N: usize> TryFrom<&FixedUtf16BePacked<N>> for String
Available on crate features text_utf8 or text_utf16 or text_utf32 or text_fixed only.
impl<const N: usize> TryFrom<&FixedUtf16BePacked<N>> for String
Available on crate features
text_utf8 or text_utf16 or text_utf32 or text_fixed only.Source§type Error = FixedUtf16Error
type Error = FixedUtf16Error
The type returned in the event of a conversion error.
Source§impl<const N: usize> TryFrom<&str> for FixedUtf16BePacked<N>
Available on crate features text_utf8 or text_utf16 or text_utf32 or text_fixed only.
impl<const N: usize> TryFrom<&str> for FixedUtf16BePacked<N>
Available on crate features
text_utf8 or text_utf16 or text_utf32 or text_fixed only.Source§impl<const N: usize> TryFrom<String> for FixedUtf16BePacked<N>
Available on crate features text_utf8 or text_utf16 or text_utf32 or text_fixed only.
impl<const N: usize> TryFrom<String> for FixedUtf16BePacked<N>
Available on crate features
text_utf8 or text_utf16 or text_utf32 or text_fixed only.impl<const N: usize> Copy for FixedUtf16BePacked<N>
Available on crate features
text_utf8 or text_utf16 or text_utf32 or text_fixed only.impl<const N: usize> Eq for FixedUtf16BePacked<N>
Available on crate features
text_utf8 or text_utf16 or text_utf32 or text_fixed only.impl<const N: usize> StructuralPartialEq for FixedUtf16BePacked<N>
Available on crate features
text_utf8 or text_utf16 or text_utf32 or text_fixed only.Auto Trait Implementations§
impl<const N: usize> Freeze for FixedUtf16BePacked<N>
impl<const N: usize> RefUnwindSafe for FixedUtf16BePacked<N>
impl<const N: usize> Send for FixedUtf16BePacked<N>
impl<const N: usize> Sync for FixedUtf16BePacked<N>
impl<const N: usize> Unpin for FixedUtf16BePacked<N>
impl<const N: usize> UnwindSafe for FixedUtf16BePacked<N>
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