pub struct IndexesBlock {
pub span_range: Range<usize>,
pub defs: Vec<IndexesDef>,
}
Expand description
Represents an indexes block inside a table block. Indexes allow users to quickly locate and access the data. Users can define single or multi-column indexes.
Fields§
§span_range: Range<usize>
The range of the span in the source text.
defs: Vec<IndexesDef>
Defined items inside an indexes block.
Trait Implementations§
Source§impl Clone for IndexesBlock
impl Clone for IndexesBlock
Source§fn clone(&self) -> IndexesBlock
fn clone(&self) -> IndexesBlock
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 IndexesBlock
impl Debug for IndexesBlock
Source§impl Default for IndexesBlock
impl Default for IndexesBlock
Source§fn default() -> IndexesBlock
fn default() -> IndexesBlock
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for IndexesBlock
impl RefUnwindSafe for IndexesBlock
impl Send for IndexesBlock
impl Sync for IndexesBlock
impl Unpin for IndexesBlock
impl UnwindSafe for IndexesBlock
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