pub struct BindingQueryResult {
pub revision: u64,
pub bindings: Vec<ResolvedBinding>,
}Expand description
Store-level binding facts derived from graph data and runtime geometry.
Fields§
§revision: u64§bindings: Vec<ResolvedBinding>Implementations§
Source§impl BindingQueryResult
impl BindingQueryResult
pub fn new(revision: u64, bindings: Vec<ResolvedBinding>) -> Self
pub fn binding(&self, binding: BindingId) -> Option<&ResolvedBinding>
pub fn pinned_node_ids(&self) -> impl Iterator<Item = NodeId> + '_
Trait Implementations§
Source§impl Clone for BindingQueryResult
impl Clone for BindingQueryResult
Source§fn clone(&self) -> BindingQueryResult
fn clone(&self) -> BindingQueryResult
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 BindingQueryResult
impl Debug for BindingQueryResult
Source§impl PartialEq for BindingQueryResult
impl PartialEq for BindingQueryResult
Source§fn eq(&self, other: &BindingQueryResult) -> bool
fn eq(&self, other: &BindingQueryResult) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for BindingQueryResult
Auto Trait Implementations§
impl Freeze for BindingQueryResult
impl RefUnwindSafe for BindingQueryResult
impl Send for BindingQueryResult
impl Sync for BindingQueryResult
impl Unpin for BindingQueryResult
impl UnsafeUnpin for BindingQueryResult
impl UnwindSafe for BindingQueryResult
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