pub enum CodePointDataSlice<'a> {
    U8(&'a [u8]),
    U16(&'a [u16]),
    U32(&'a [u32]),
}Expand description
Data slice from a CodePointTrie TOML.
ICU4C exports data as either u8, u16, or u32, which may be converted
to other types as appropriate.
Variants§
U8(&'a [u8])
A serialized CodePointTrie data array 8-bit values.
U16(&'a [u16])
A serialized CodePointTrie data array 16-bit values.
U32(&'a [u32])
A serialized CodePointTrie data array 32-bit values.
Auto Trait Implementations§
impl<'a> Freeze for CodePointDataSlice<'a>
impl<'a> RefUnwindSafe for CodePointDataSlice<'a>
impl<'a> Send for CodePointDataSlice<'a>
impl<'a> Sync for CodePointDataSlice<'a>
impl<'a> Unpin for CodePointDataSlice<'a>
impl<'a> UnwindSafe for CodePointDataSlice<'a>
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> IntoEither for T
 
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
 
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts 
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
 
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts 
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more