pub struct FixedUtf16LeSpacePadded<const N: usize>(pub FixedUtf16LeCodeUnits<N>);Available on crate features
text_fixed and text_utf16 only.Expand description
Fixed UTF-16LE code units interpreted as a space-padded string.
When decoding, trailing ASCII spaces (0x0020) are trimmed. (No NUL terminator is
required.)
Tuple Fields§
§0: FixedUtf16LeCodeUnits<N>Trait Implementations§
Source§impl<const N: usize> Clone for FixedUtf16LeSpacePadded<N>
Available on crate features text_utf8 or text_utf16 or text_utf32 or text_fixed only.
impl<const N: usize> Clone for FixedUtf16LeSpacePadded<N>
Available on crate features
text_utf8 or text_utf16 or text_utf32 or text_fixed only.Source§fn clone(&self) -> FixedUtf16LeSpacePadded<N>
fn clone(&self) -> FixedUtf16LeSpacePadded<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 FixedUtf16LeSpacePadded<N>
Available on crate features text_utf8 or text_utf16 or text_utf32 or text_fixed only.
impl<const N: usize> Debug for FixedUtf16LeSpacePadded<N>
Available on crate features
text_utf8 or text_utf16 or text_utf32 or text_fixed only.Source§impl<const N: usize> EndianRead for FixedUtf16LeSpacePadded<N>
Available on crate feature io-std and (crate features io-core or io-std) only.
impl<const N: usize> EndianRead for FixedUtf16LeSpacePadded<N>
Available on crate feature
io-std and (crate features io-core or io-std) only.Source§impl<const N: usize> EndianWrite for FixedUtf16LeSpacePadded<N>
Available on crate feature io-std and (crate features io-core or io-std) only.
impl<const N: usize> EndianWrite for FixedUtf16LeSpacePadded<N>
Available on crate feature
io-std and (crate features io-core or io-std) only.Source§impl<const N: usize> From<FixedUtf16CodeUnitsEndian<LittleEndian<u16>, N>> for FixedUtf16LeSpacePadded<N>
Available on crate features text_utf8 or text_utf16 or text_utf32 or text_fixed only.
impl<const N: usize> From<FixedUtf16CodeUnitsEndian<LittleEndian<u16>, N>> for FixedUtf16LeSpacePadded<N>
Available on crate features
text_utf8 or text_utf16 or text_utf32 or text_fixed only.Source§fn from(v: FixedUtf16LeCodeUnits<N>) -> Self
fn from(v: FixedUtf16LeCodeUnits<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 FixedUtf16LeSpacePadded<N>
Available on crate feature io-core and (crate features io-core or io-std) only.
impl<const N: usize> FromSlice for FixedUtf16LeSpacePadded<N>
Available on crate feature
io-core and (crate features io-core or io-std) only.Source§impl<const N: usize> Hash for FixedUtf16LeSpacePadded<N>
Available on crate features text_utf8 or text_utf16 or text_utf32 or text_fixed only.
impl<const N: usize> Hash for FixedUtf16LeSpacePadded<N>
Available on crate features
text_utf8 or text_utf16 or text_utf32 or text_fixed only.Source§impl<const N: usize> Ord for FixedUtf16LeSpacePadded<N>
Available on crate features text_utf8 or text_utf16 or text_utf32 or text_fixed only.
impl<const N: usize> Ord for FixedUtf16LeSpacePadded<N>
Available on crate features
text_utf8 or text_utf16 or text_utf32 or text_fixed only.Source§fn cmp(&self, other: &FixedUtf16LeSpacePadded<N>) -> Ordering
fn cmp(&self, other: &FixedUtf16LeSpacePadded<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 FixedUtf16LeSpacePadded<N>
Available on crate features text_utf8 or text_utf16 or text_utf32 or text_fixed only.
impl<const N: usize> PartialEq for FixedUtf16LeSpacePadded<N>
Available on crate features
text_utf8 or text_utf16 or text_utf32 or text_fixed only.Source§impl<const N: usize> PartialOrd for FixedUtf16LeSpacePadded<N>
Available on crate features text_utf8 or text_utf16 or text_utf32 or text_fixed only.
impl<const N: usize> PartialOrd for FixedUtf16LeSpacePadded<N>
Available on crate features
text_utf8 or text_utf16 or text_utf32 or text_fixed only.Source§impl<const N: usize> TryFrom<&FixedUtf16LeSpacePadded<N>> for String
Available on crate features text_utf8 or text_utf16 or text_utf32 or text_fixed only.
impl<const N: usize> TryFrom<&FixedUtf16LeSpacePadded<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 FixedUtf16LeSpacePadded<N>
Available on crate features text_utf8 or text_utf16 or text_utf32 or text_fixed only.
impl<const N: usize> TryFrom<&str> for FixedUtf16LeSpacePadded<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 FixedUtf16LeSpacePadded<N>
Available on crate features text_utf8 or text_utf16 or text_utf32 or text_fixed only.
impl<const N: usize> TryFrom<String> for FixedUtf16LeSpacePadded<N>
Available on crate features
text_utf8 or text_utf16 or text_utf32 or text_fixed only.impl<const N: usize> Copy for FixedUtf16LeSpacePadded<N>
Available on crate features
text_utf8 or text_utf16 or text_utf32 or text_fixed only.impl<const N: usize> Eq for FixedUtf16LeSpacePadded<N>
Available on crate features
text_utf8 or text_utf16 or text_utf32 or text_fixed only.impl<const N: usize> StructuralPartialEq for FixedUtf16LeSpacePadded<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 FixedUtf16LeSpacePadded<N>
impl<const N: usize> RefUnwindSafe for FixedUtf16LeSpacePadded<N>
impl<const N: usize> Send for FixedUtf16LeSpacePadded<N>
impl<const N: usize> Sync for FixedUtf16LeSpacePadded<N>
impl<const N: usize> Unpin for FixedUtf16LeSpacePadded<N>
impl<const N: usize> UnwindSafe for FixedUtf16LeSpacePadded<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