#[repr(transparent)]pub struct FixedUtf8NullPadded<const N: usize>(pub FixedUtf8Bytes<N>);Available on crate features
text_fixed and text_utf8 only.Expand description
NUL-padded fixed UTF-8 bytes.
Tuple Fields§
§0: FixedUtf8Bytes<N>Trait Implementations§
Source§impl<const N: usize> Clone for FixedUtf8NullPadded<N>
Available on crate features text_utf8 or text_utf16 or text_utf32 or text_fixed only.
impl<const N: usize> Clone for FixedUtf8NullPadded<N>
Available on crate features
text_utf8 or text_utf16 or text_utf32 or text_fixed only.Source§fn clone(&self) -> FixedUtf8NullPadded<N>
fn clone(&self) -> FixedUtf8NullPadded<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 FixedUtf8NullPadded<N>
Available on crate features text_utf8 or text_utf16 or text_utf32 or text_fixed only.
impl<const N: usize> Debug for FixedUtf8NullPadded<N>
Available on crate features
text_utf8 or text_utf16 or text_utf32 or text_fixed only.Source§impl<const N: usize> EndianRead for FixedUtf8NullPadded<N>
Available on crate feature io-std and (crate features io-core or io-std) only.
impl<const N: usize> EndianRead for FixedUtf8NullPadded<N>
Available on crate feature
io-std and (crate features io-core or io-std) only.Source§impl<const N: usize> EndianWrite for FixedUtf8NullPadded<N>
Available on crate feature io-std and (crate features io-core or io-std) only.
impl<const N: usize> EndianWrite for FixedUtf8NullPadded<N>
Available on crate feature
io-std and (crate features io-core or io-std) only.Source§impl<const N: usize> From<&FixedUtf8NullPadded<N>> for Vec<u8>
Available on crate features text_utf8 or text_utf16 or text_utf32 or text_fixed only.
impl<const N: usize> From<&FixedUtf8NullPadded<N>> for Vec<u8>
Available on crate features
text_utf8 or text_utf16 or text_utf32 or text_fixed only.Source§fn from(v: &FixedUtf8NullPadded<N>) -> Self
fn from(v: &FixedUtf8NullPadded<N>) -> Self
Converts to this type from the input type.
Source§impl<const N: usize> From<FixedUtf8Bytes<N>> for FixedUtf8NullPadded<N>
Available on crate features text_utf8 or text_utf16 or text_utf32 or text_fixed only.
impl<const N: usize> From<FixedUtf8Bytes<N>> for FixedUtf8NullPadded<N>
Available on crate features
text_utf8 or text_utf16 or text_utf32 or text_fixed only.Source§fn from(v: FixedUtf8Bytes<N>) -> Self
fn from(v: FixedUtf8Bytes<N>) -> Self
Converts to this type from the input type.
Source§impl<const N: usize> From<FixedUtf8NullPadded<N>> for FixedUtf8Bytes<N>
Available on crate features text_utf8 or text_utf16 or text_utf32 or text_fixed only.
impl<const N: usize> From<FixedUtf8NullPadded<N>> for FixedUtf8Bytes<N>
Available on crate features
text_utf8 or text_utf16 or text_utf32 or text_fixed only.Source§fn from(v: FixedUtf8NullPadded<N>) -> Self
fn from(v: FixedUtf8NullPadded<N>) -> Self
Converts to this type from the input type.
Source§impl<const N: usize> FromSlice for FixedUtf8NullPadded<N>
Available on crate feature io-core and (crate features io-core or io-std) only.
impl<const N: usize> FromSlice for FixedUtf8NullPadded<N>
Available on crate feature
io-core and (crate features io-core or io-std) only.Source§impl<const N: usize> Hash for FixedUtf8NullPadded<N>
Available on crate features text_utf8 or text_utf16 or text_utf32 or text_fixed only.
impl<const N: usize> Hash for FixedUtf8NullPadded<N>
Available on crate features
text_utf8 or text_utf16 or text_utf32 or text_fixed only.Source§impl<const N: usize> Ord for FixedUtf8NullPadded<N>
Available on crate features text_utf8 or text_utf16 or text_utf32 or text_fixed only.
impl<const N: usize> Ord for FixedUtf8NullPadded<N>
Available on crate features
text_utf8 or text_utf16 or text_utf32 or text_fixed only.Source§fn cmp(&self, other: &FixedUtf8NullPadded<N>) -> Ordering
fn cmp(&self, other: &FixedUtf8NullPadded<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 FixedUtf8NullPadded<N>
Available on crate features text_utf8 or text_utf16 or text_utf32 or text_fixed only.
impl<const N: usize> PartialEq for FixedUtf8NullPadded<N>
Available on crate features
text_utf8 or text_utf16 or text_utf32 or text_fixed only.Source§impl<const N: usize> PartialOrd for FixedUtf8NullPadded<N>
Available on crate features text_utf8 or text_utf16 or text_utf32 or text_fixed only.
impl<const N: usize> PartialOrd for FixedUtf8NullPadded<N>
Available on crate features
text_utf8 or text_utf16 or text_utf32 or text_fixed only.Source§impl<const N: usize> TryFrom<&FixedUtf8NullPadded<N>> for String
Available on crate features text_utf8 or text_utf16 or text_utf32 or text_fixed only.
impl<const N: usize> TryFrom<&FixedUtf8NullPadded<N>> for String
Available on crate features
text_utf8 or text_utf16 or text_utf32 or text_fixed only.Source§type Error = FixedUtf8Error
type Error = FixedUtf8Error
The type returned in the event of a conversion error.
Source§impl<const N: usize> TryFrom<&str> for FixedUtf8NullPadded<N>
Available on crate features text_utf8 or text_utf16 or text_utf32 or text_fixed only.
impl<const N: usize> TryFrom<&str> for FixedUtf8NullPadded<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 FixedUtf8NullPadded<N>
Available on crate features text_utf8 or text_utf16 or text_utf32 or text_fixed only.
impl<const N: usize> TryFrom<String> for FixedUtf8NullPadded<N>
Available on crate features
text_utf8 or text_utf16 or text_utf32 or text_fixed only.impl<const N: usize> Copy for FixedUtf8NullPadded<N>
Available on crate features
text_utf8 or text_utf16 or text_utf32 or text_fixed only.impl<const N: usize> Eq for FixedUtf8NullPadded<N>
Available on crate features
text_utf8 or text_utf16 or text_utf32 or text_fixed only.impl<const N: usize> StructuralPartialEq for FixedUtf8NullPadded<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 FixedUtf8NullPadded<N>
impl<const N: usize> RefUnwindSafe for FixedUtf8NullPadded<N>
impl<const N: usize> Send for FixedUtf8NullPadded<N>
impl<const N: usize> Sync for FixedUtf8NullPadded<N>
impl<const N: usize> Unpin for FixedUtf8NullPadded<N>
impl<const N: usize> UnwindSafe for FixedUtf8NullPadded<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