pub struct Index {
pub head: Box<ExprKind>,
pub indices: Vec<Expr>,
}
Expand description
A repeated Index expression: a[10, 20, 30][40, 50, 60]
Fields§
§head: Box<ExprKind>
§indices: Vec<Expr>
Trait Implementations§
source§impl PartialEq for Index
impl PartialEq for Index
impl Eq for Index
impl StructuralPartialEq for Index
Auto Trait Implementations§
impl Freeze for Index
impl RefUnwindSafe for Index
impl Send for Index
impl Sync for Index
impl Unpin for Index
impl UnwindSafe for Index
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