Trait jj_lib::default_index::AsCompositeIndex

source ·
pub trait AsCompositeIndex {
    // Required method
    fn as_composite(&self) -> &CompositeIndex;
}
Expand description

Abstraction over owned and borrowed types that can be cheaply converted to a CompositeIndex reference.

Required Methods§

source

fn as_composite(&self) -> &CompositeIndex

Returns reference wrapper that provides global access to this index.

Implementations on Foreign Types§

source§

impl<T: AsCompositeIndex + ?Sized> AsCompositeIndex for &T

source§

impl<T: AsCompositeIndex + ?Sized> AsCompositeIndex for &mut T

Implementors§