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§impl Debug for IndexesBlock
impl Debug for IndexesBlock
Auto Trait Implementations§
impl Freeze for IndexesBlock
impl RefUnwindSafe for IndexesBlock
impl Send for IndexesBlock
impl Sync for IndexesBlock
impl Unpin for IndexesBlock
impl UnsafeUnpin 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