pub struct Unicode16Array<const N: usize>(pub [u16; N]);Expand description
A fixed-size 16-bit Unicode string.
Tuple Fields§
§0: [u16; N]Trait Implementations§
Source§impl<const N: usize> Clone for Unicode16Array<N>
impl<const N: usize> Clone for Unicode16Array<N>
Source§fn clone(&self) -> Unicode16Array<N>
fn clone(&self) -> Unicode16Array<N>
Returns a copy 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> Display for Unicode16Array<N>
impl<const N: usize> Display for Unicode16Array<N>
Source§impl<const N: usize> Zeroable for Unicode16Array<N>
impl<const N: usize> Zeroable for Unicode16Array<N>
impl<const N: usize> Copy for Unicode16Array<N>
impl<const N: usize> Pod for Unicode16Array<N>
Auto Trait Implementations§
impl<const N: usize> Freeze for Unicode16Array<N>
impl<const N: usize> RefUnwindSafe for Unicode16Array<N>
impl<const N: usize> Send for Unicode16Array<N>
impl<const N: usize> Sync for Unicode16Array<N>
impl<const N: usize> Unpin for Unicode16Array<N>
impl<const N: usize> UnwindSafe for Unicode16Array<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
Source§impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
Source§type Bits = T
type Bits = T
Self must have the same layout as the specified Bits except for
the possible invalid bit patterns being checked during
is_valid_bit_pattern.Source§fn is_valid_bit_pattern(_bits: &T) -> bool
fn is_valid_bit_pattern(_bits: &T) -> bool
If this function returns true, then it must be valid to reinterpret
bits
as &Self.