Enum wain_syntax_text::ast::Index
source · pub enum Index<'s> {
Num(u32),
Ident(&'s str),
}
Variants§
Trait Implementations§
Auto Trait Implementations§
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