Trait 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§