pub enum Units<'a> {
Bytes(&'a [u8]),
Utf16(&'a [u16]),
}Expand description
the code units of a string, borrowed (see StringTable::with_units): ascii bytes or utf-16 code units
Variants§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Forget for Units<'a>
impl<'a> Freeze for Units<'a>
impl<'a> Move for Units<'a>
impl<'a> RefUnwindSafe for Units<'a>
impl<'a> Send for Units<'a>
impl<'a> Sync for Units<'a>
impl<'a> Unpin for Units<'a>
impl<'a> UnsafeUnpin for Units<'a>
impl<'a> UnwindSafe for Units<'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