pub struct BTreeIndex { /* private fields */ }Expand description
B-Tree index for sorted column values
Implementations§
Source§impl BTreeIndex
impl BTreeIndex
Sourcepub fn size_bytes(&self) -> usize
pub fn size_bytes(&self) -> usize
Index size in bytes
Sourcepub fn cardinality(&self) -> usize
pub fn cardinality(&self) -> usize
Number of unique values
Sourcepub fn column_name(&self) -> &str
pub fn column_name(&self) -> &str
Column name
Trait Implementations§
Source§impl Clone for BTreeIndex
impl Clone for BTreeIndex
Source§fn clone(&self) -> BTreeIndex
fn clone(&self) -> BTreeIndex
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 BTreeIndex
impl RefUnwindSafe for BTreeIndex
impl Send for BTreeIndex
impl Sync for BTreeIndex
impl Unpin for BTreeIndex
impl UnsafeUnpin for BTreeIndex
impl UnwindSafe for BTreeIndex
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