pub struct FixedUtf8Bytes<const N: usize> { /* private fields */ }Available on crate features
text_fixed and text_utf8 only.Expand description
Inline, fixed-size UTF-8 bytes.
Implementations§
Trait Implementations§
Source§impl<const N: usize> Clone for FixedUtf8Bytes<N>
Available on crate features text_utf8 or text_utf16 or text_utf32 or text_fixed only.
impl<const N: usize> Clone for FixedUtf8Bytes<N>
Available on crate features
text_utf8 or text_utf16 or text_utf32 or text_fixed only.Source§fn clone(&self) -> FixedUtf8Bytes<N>
fn clone(&self) -> FixedUtf8Bytes<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 FixedUtf8Bytes<N>
Available on crate features text_utf8 or text_utf16 or text_utf32 or text_fixed only.
impl<const N: usize> Debug for FixedUtf8Bytes<N>
Available on crate features
text_utf8 or text_utf16 or text_utf32 or text_fixed only.Source§impl<const N: usize> From<[u8; 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<[u8; N]> for FixedUtf8Bytes<N>
Available on crate features
text_utf8 or text_utf16 or text_utf32 or text_fixed only.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<FixedUtf8Bytes<N>> for FixedUtf8SpacePadded<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 FixedUtf8SpacePadded<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> From<FixedUtf8SpacePadded<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<FixedUtf8SpacePadded<N>> for FixedUtf8Bytes<N>
Available on crate features
text_utf8 or text_utf16 or text_utf32 or text_fixed only.Source§fn from(v: FixedUtf8SpacePadded<N>) -> Self
fn from(v: FixedUtf8SpacePadded<N>) -> Self
Converts to this type from the input type.
Source§impl<const N: usize> Hash for FixedUtf8Bytes<N>
Available on crate features text_utf8 or text_utf16 or text_utf32 or text_fixed only.
impl<const N: usize> Hash for FixedUtf8Bytes<N>
Available on crate features
text_utf8 or text_utf16 or text_utf32 or text_fixed only.Source§impl<const N: usize> Ord for FixedUtf8Bytes<N>
Available on crate features text_utf8 or text_utf16 or text_utf32 or text_fixed only.
impl<const N: usize> Ord for FixedUtf8Bytes<N>
Available on crate features
text_utf8 or text_utf16 or text_utf32 or text_fixed only.Source§fn cmp(&self, other: &FixedUtf8Bytes<N>) -> Ordering
fn cmp(&self, other: &FixedUtf8Bytes<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 FixedUtf8Bytes<N>
Available on crate features text_utf8 or text_utf16 or text_utf32 or text_fixed only.
impl<const N: usize> PartialEq for FixedUtf8Bytes<N>
Available on crate features
text_utf8 or text_utf16 or text_utf32 or text_fixed only.Source§impl<const N: usize> PartialOrd for FixedUtf8Bytes<N>
Available on crate features text_utf8 or text_utf16 or text_utf32 or text_fixed only.
impl<const N: usize> PartialOrd for FixedUtf8Bytes<N>
Available on crate features
text_utf8 or text_utf16 or text_utf32 or text_fixed only.impl<const N: usize> Copy for FixedUtf8Bytes<N>
Available on crate features
text_utf8 or text_utf16 or text_utf32 or text_fixed only.impl<const N: usize> Eq for FixedUtf8Bytes<N>
Available on crate features
text_utf8 or text_utf16 or text_utf32 or text_fixed only.impl<const N: usize> StructuralPartialEq for FixedUtf8Bytes<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 FixedUtf8Bytes<N>
impl<const N: usize> RefUnwindSafe for FixedUtf8Bytes<N>
impl<const N: usize> Send for FixedUtf8Bytes<N>
impl<const N: usize> Sync for FixedUtf8Bytes<N>
impl<const N: usize> Unpin for FixedUtf8Bytes<N>
impl<const N: usize> UnwindSafe for FixedUtf8Bytes<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