pub struct QueryRegistry {
pub queries: Vec<QueryDescriptor>,
}Expand description
A registry of query descriptors, built from a manifest.
Fields§
§queries: Vec<QueryDescriptor>Implementations§
Source§impl QueryRegistry
impl QueryRegistry
pub fn from_manifest(manifest: &AppManifest) -> Self
pub fn get(&self, name: &str) -> Option<&QueryDescriptor>
pub fn names(&self) -> Vec<&str>
Trait Implementations§
Source§impl Clone for QueryRegistry
impl Clone for QueryRegistry
Source§fn clone(&self) -> QueryRegistry
fn clone(&self) -> QueryRegistry
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 moreSource§impl Debug for QueryRegistry
impl Debug for QueryRegistry
Source§impl PartialEq for QueryRegistry
impl PartialEq for QueryRegistry
Source§fn eq(&self, other: &QueryRegistry) -> bool
fn eq(&self, other: &QueryRegistry) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for QueryRegistry
impl StructuralPartialEq for QueryRegistry
Auto Trait Implementations§
impl Freeze for QueryRegistry
impl RefUnwindSafe for QueryRegistry
impl Send for QueryRegistry
impl Sync for QueryRegistry
impl Unpin for QueryRegistry
impl UnsafeUnpin for QueryRegistry
impl UnwindSafe for QueryRegistry
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