pub type FixedUtf16LeCodeUnits<const N: usize> = FixedUtf16CodeUnitsEndian<LittleEndian<u16>, N>;Available on crate features
text_fixed and text_utf16 only.Expand description
Little-endian fixed UTF-16 code units.
Aliased Type§
pub struct FixedUtf16LeCodeUnits<const N: usize> { /* private fields */ }Trait Implementations§
Source§impl<const N: usize> Display for FixedUtf16LeCodeUnits<N>
Available on crate features text_utf8 or text_utf16 or text_utf32 or text_fixed only.
impl<const N: usize> Display for FixedUtf16LeCodeUnits<N>
Available on crate features
text_utf8 or text_utf16 or text_utf32 or text_fixed only.Source§impl<const N: usize> EndianRead for FixedUtf16LeCodeUnits<N>
Available on crate feature io-std and (crate features io-core or io-std) only.
impl<const N: usize> EndianRead for FixedUtf16LeCodeUnits<N>
Available on crate feature
io-std and (crate features io-core or io-std) only.Source§impl<const N: usize> EndianWrite for FixedUtf16LeCodeUnits<N>
Available on crate feature io-std and (crate features io-core or io-std) only.
impl<const N: usize> EndianWrite for FixedUtf16LeCodeUnits<N>
Available on crate feature
io-std and (crate features io-core or io-std) only.Source§impl<const N: usize> From<FixedUtf16LeNullPadded<N>> for FixedUtf16LeCodeUnits<N>
Available on crate features text_utf8 or text_utf16 or text_utf32 or text_fixed only.
impl<const N: usize> From<FixedUtf16LeNullPadded<N>> for FixedUtf16LeCodeUnits<N>
Available on crate features
text_utf8 or text_utf16 or text_utf32 or text_fixed only.Source§fn from(v: FixedUtf16LeNullPadded<N>) -> Self
fn from(v: FixedUtf16LeNullPadded<N>) -> Self
Converts to this type from the input type.
Source§impl<const N: usize> From<FixedUtf16LePacked<N>> for FixedUtf16LeCodeUnits<N>
Available on crate features text_utf8 or text_utf16 or text_utf32 or text_fixed only.
impl<const N: usize> From<FixedUtf16LePacked<N>> for FixedUtf16LeCodeUnits<N>
Available on crate features
text_utf8 or text_utf16 or text_utf32 or text_fixed only.Source§fn from(v: FixedUtf16LePacked<N>) -> Self
fn from(v: FixedUtf16LePacked<N>) -> Self
Converts to this type from the input type.
Source§impl<const N: usize> From<FixedUtf16LeSpacePadded<N>> for FixedUtf16LeCodeUnits<N>
Available on crate features text_utf8 or text_utf16 or text_utf32 or text_fixed only.
impl<const N: usize> From<FixedUtf16LeSpacePadded<N>> for FixedUtf16LeCodeUnits<N>
Available on crate features
text_utf8 or text_utf16 or text_utf32 or text_fixed only.Source§fn from(v: FixedUtf16LeSpacePadded<N>) -> Self
fn from(v: FixedUtf16LeSpacePadded<N>) -> Self
Converts to this type from the input type.
Source§impl<const N: usize> FromSlice for FixedUtf16LeCodeUnits<N>
Available on crate feature io-core and (crate features io-core or io-std) only.
impl<const N: usize> FromSlice for FixedUtf16LeCodeUnits<N>
Available on crate feature
io-core and (crate features io-core or io-std) only.Source§impl<const N: usize> SpecificEndian<FixedUtf16CodeUnitsEndian<LittleEndian<u16>, N>> for FixedUtf16LeCodeUnits<N>
Available on crate features text_utf8 or text_utf16 or text_utf32 or text_fixed only.
impl<const N: usize> SpecificEndian<FixedUtf16CodeUnitsEndian<LittleEndian<u16>, N>> for FixedUtf16LeCodeUnits<N>
Available on crate features
text_utf8 or text_utf16 or text_utf32 or text_fixed only.fn to_big_endian(&self) -> FixedUtf16LeCodeUnits<N>
fn to_little_endian(&self) -> FixedUtf16LeCodeUnits<N>
fn from_big_endian(&self) -> FixedUtf16LeCodeUnits<N>
fn from_little_endian(&self) -> FixedUtf16LeCodeUnits<N>
fn endian(&self) -> Endian
Source§impl<const N: usize> SpecificEndianOwned for FixedUtf16LeCodeUnits<N>
Available on crate features text_utf8 or text_utf16 or text_utf32 or text_fixed only.
impl<const N: usize> SpecificEndianOwned for FixedUtf16LeCodeUnits<N>
Available on crate features
text_utf8 or text_utf16 or text_utf32 or text_fixed only.Source§type Little = FixedUtf16CodeUnitsEndian<LittleEndian<u16>, N>
type Little = FixedUtf16CodeUnitsEndian<LittleEndian<u16>, N>
The little-endian form of this type.
fn to_big_endian(&self) -> Self::Big
fn to_little_endian(&self) -> Self::Little
fn from_big_endian(&self) -> Self::Big
fn from_little_endian(&self) -> Self::Little
fn endian(&self) -> Endian
Source§impl<const N: usize> TryFrom<&[LittleEndian<u16>]> for FixedUtf16LeCodeUnits<N>
Available on crate features text_utf8 or text_utf16 or text_utf32 or text_fixed only.
impl<const N: usize> TryFrom<&[LittleEndian<u16>]> for FixedUtf16LeCodeUnits<N>
Available on crate features
text_utf8 or text_utf16 or text_utf32 or text_fixed only.Source§impl<const N: usize> TryFrom<&[u16]> for FixedUtf16LeCodeUnits<N>
Available on crate features text_utf8 or text_utf16 or text_utf32 or text_fixed only.
impl<const N: usize> TryFrom<&[u16]> for FixedUtf16LeCodeUnits<N>
Available on crate features
text_utf8 or text_utf16 or text_utf32 or text_fixed only.Source§impl<const N: usize> TryFrom<&str> for FixedUtf16LeCodeUnits<N>
Available on crate features text_utf8 or text_utf16 or text_utf32 or text_fixed only.
impl<const N: usize> TryFrom<&str> for FixedUtf16LeCodeUnits<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 FixedUtf16LeCodeUnits<N>
Available on crate features text_utf8 or text_utf16 or text_utf32 or text_fixed only.
impl<const N: usize> TryFrom<String> for FixedUtf16LeCodeUnits<N>
Available on crate features
text_utf8 or text_utf16 or text_utf32 or text_fixed only.Source§impl<const N: usize> TryFrom<Utf16StringLE> for FixedUtf16LeCodeUnits<N>
Available on crate features text_utf8 or text_utf16 or text_utf32 or text_fixed only.
impl<const N: usize> TryFrom<Utf16StringLE> for FixedUtf16LeCodeUnits<N>
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.