pub struct TableAccess {
pub prefix: TableAccessPrefix,
pub accessed_keys: Vec<TableAccessKey>,
}Expand description
Represents an access to a table index.
Fields§
§prefix: TableAccessPrefixThe actual table being indexed
accessed_keys: Vec<TableAccessKey>All keys accessed by the expression.
local _ = t.a.b.cWill be a, b, c in this case.
Trait Implementations§
Source§impl Clone for TableAccess
impl Clone for TableAccess
Source§fn clone(&self) -> TableAccess
fn clone(&self) -> TableAccess
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 moreSource§impl Debug for TableAccess
impl Debug for TableAccess
Source§impl GetRange for TableAccess
impl GetRange for TableAccess
Source§impl Hash for TableAccess
impl Hash for TableAccess
Source§impl Ord for TableAccess
impl Ord for TableAccess
Source§fn cmp(&self, other: &TableAccess) -> Ordering
fn cmp(&self, other: &TableAccess) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl Parse for TableAccess
impl Parse for TableAccess
Source§impl PartialEq for TableAccess
impl PartialEq for TableAccess
Source§impl PartialOrd for TableAccess
impl PartialOrd for TableAccess
Source§impl Print for TableAccess
impl Print for TableAccess
Source§fn print_final_trivia(&self) -> String
fn print_final_trivia(&self) -> String
Prints only the very final trivia. Used for the default implementation of
Print::print, which just joins Print::print_without_final_trivia
and this function.Source§fn print_without_final_trivia(&self) -> String
fn print_without_final_trivia(&self) -> String
Prints the whole token including all surrounding trivia, excluding the
very last trailing trivia.
Source§impl TryParse for TableAccess
impl TryParse for TableAccess
impl Eq for TableAccess
impl StructuralPartialEq for TableAccess
Auto Trait Implementations§
impl Freeze for TableAccess
impl RefUnwindSafe for TableAccess
impl !Send for TableAccess
impl !Sync for TableAccess
impl Unpin for TableAccess
impl UnwindSafe for TableAccess
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