pub struct Unicode16Array<const N: usize>(pub [u16; N]);Expand description
A fixed-size 16-bit Unicode string.
Tuple Fields§
§0: [u16; N]Implementations§
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.source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)