pub enum IndexArg {
Variant(IndexVariantRef),
Var(Spanned<LocalId>),
Expr(Box<Expr>),
}Expand description
A resolved index-access argument.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for IndexArg
impl RefUnwindSafe for IndexArg
impl Send for IndexArg
impl Sync for IndexArg
impl Unpin for IndexArg
impl UnsafeUnpin for IndexArg
impl UnwindSafe for IndexArg
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