pub struct Projection { /* private fields */ }Expand description
Compiled column projection reusable across millions of lookups with zero parsing overhead.
Implementations§
Source§impl Projection
impl Projection
Sourcepub fn from_paths<I, S>(paths: I) -> Result<Self>
pub fn from_paths<I, S>(paths: I) -> Result<Self>
Compile dot-separated field paths, e.g.:
&["country.iso_code", "location.latitude", "location.longitude", "city.names.en"].
Trait Implementations§
Source§impl Clone for Projection
impl Clone for Projection
Source§impl Debug for Projection
impl Debug for Projection
impl Eq for Projection
Source§impl PartialEq for Projection
impl PartialEq for Projection
impl StructuralPartialEq for Projection
Auto Trait Implementations§
impl Forget for Projection
impl Freeze for Projectionwhere
*const LeafNode<String, ProjectionNode> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, ProjectionNode)>>: Freeze,
impl Move for Projection
impl RefUnwindSafe for Projection
impl Send for Projectionwhere
NodeRef<Owned, String, ProjectionNode, LeafOrInternal>: Send,
BoxRaw<(String, ProjectionNode)>: Send,
impl Sync for Projectionwhere
NodeRef<Owned, String, ProjectionNode, LeafOrInternal>: Sync,
BoxRaw<(String, ProjectionNode)>: Sync,
impl Unpin for Projectionwhere
*const LeafNode<String, ProjectionNode> is !null: Unpin,
Box<(String, ProjectionNode)>: Unpin,
impl UnsafeUnpin for Projectionwhere
*const LeafNode<String, ProjectionNode> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, ProjectionNode)>>: UnsafeUnpin,
impl UnwindSafe for Projection
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.