pub enum IndexOption<'a> {
IndexTypeBTree(Span),
IndexTypeHash(Span),
IndexTypeRTree(Span),
Comment(SString<'a>),
}
Expand description
Option on an index
Variants§
IndexTypeBTree(Span)
The index should be a BTree
IndexTypeHash(Span)
The index should be hashed
IndexTypeRTree(Span)
The index should be an RTree
Comment(SString<'a>)
Attach a comment to the index
Trait Implementations§
Source§impl<'a> Clone for IndexOption<'a>
impl<'a> Clone for IndexOption<'a>
Source§fn clone(&self) -> IndexOption<'a>
fn clone(&self) -> IndexOption<'a>
Returns a copy 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<'a> Debug for IndexOption<'a>
impl<'a> Debug for IndexOption<'a>
Auto Trait Implementations§
impl<'a> Freeze for IndexOption<'a>
impl<'a> RefUnwindSafe for IndexOption<'a>
impl<'a> Send for IndexOption<'a>
impl<'a> Sync for IndexOption<'a>
impl<'a> Unpin for IndexOption<'a>
impl<'a> UnwindSafe for IndexOption<'a>
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