pub enum Index<'s> {
Num(u32),
Ident(&'s str),
}
Variants§
Trait Implementations§
Auto Trait Implementations§
impl<'s> Freeze for Index<'s>
impl<'s> RefUnwindSafe for Index<'s>
impl<'s> Send for Index<'s>
impl<'s> Sync for Index<'s>
impl<'s> Unpin for Index<'s>
impl<'s> UnwindSafe for Index<'s>
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