pub struct AssertionBinding { /* private fields */ }Expand description
One explicit dense binding declaration.
Implementations§
Source§impl AssertionBinding
impl AssertionBinding
Sourcepub const fn new(id: BindingId, variable: QueryVariable) -> Self
pub const fn new(id: BindingId, variable: QueryVariable) -> Self
Construct one typed binding declaration.
Sourcepub const fn variable(&self) -> &QueryVariable
pub const fn variable(&self) -> &QueryVariable
Return the user-facing query variable.
Trait Implementations§
Source§impl Clone for AssertionBinding
impl Clone for AssertionBinding
Source§fn clone(&self) -> AssertionBinding
fn clone(&self) -> AssertionBinding
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 AssertionBinding
impl Debug for AssertionBinding
impl Eq for AssertionBinding
Source§impl PartialEq for AssertionBinding
impl PartialEq for AssertionBinding
Source§impl Serialize for AssertionBinding
impl Serialize for AssertionBinding
impl StructuralPartialEq for AssertionBinding
Auto Trait Implementations§
impl Freeze for AssertionBinding
impl RefUnwindSafe for AssertionBinding
impl Send for AssertionBinding
impl Sync for AssertionBinding
impl Unpin for AssertionBinding
impl UnsafeUnpin for AssertionBinding
impl UnwindSafe for AssertionBinding
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