pub enum Indices<'a> {
None,
U16(Cow<'a, [u16]>),
U32(Cow<'a, [u32]>),
}
Expand description
Abstracts over two types of indices and their absence.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Indices<'a>
impl<'a> RefUnwindSafe for Indices<'a>
impl<'a> Send for Indices<'a>
impl<'a> Sync for Indices<'a>
impl<'a> Unpin for Indices<'a>
impl<'a> UnwindSafe for Indices<'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