pub struct ExprTableIndex {
pub table: Box<Expression>,
pub index: Box<Expression>,
pub span: Span,
}Expand description
table[index], table.index
Fields§
§table: Box<Expression>§index: Box<Expression>§span: SpanImplementations§
Source§impl ExprTableIndex
impl ExprTableIndex
pub fn new(table: Expression, index: Expression, span: Span) -> Self
Trait Implementations§
Source§impl Clone for ExprTableIndex
impl Clone for ExprTableIndex
Source§fn clone(&self) -> ExprTableIndex
fn clone(&self) -> ExprTableIndex
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ExprTableIndex
impl RefUnwindSafe for ExprTableIndex
impl Send for ExprTableIndex
impl Sync for ExprTableIndex
impl Unpin for ExprTableIndex
impl UnwindSafe for ExprTableIndex
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