pub enum Implemented<'a, G>{
Attribute(AttributeBinding),
Collection(CollectionRelation<'a, G>),
}
Expand description
@TODO
Variants§
Attribute(AttributeBinding)
A relation backed by an attribute.
Collection(CollectionRelation<'a, G>)
A relation backed by a Differential collection.
Trait Implementations§
Source§impl<'a, G: Scope> AsBinding for Implemented<'a, G>
impl<'a, G: Scope> AsBinding for Implemented<'a, G>
Source§fn binds(&self, variable: u32) -> Option<usize>
fn binds(&self, variable: u32) -> Option<usize>
Iff the binding has opinions about the given variable, this will
return the offset, otherwise None.
Source§fn ready_to_extend(&self, prefix: &dyn AsBinding) -> Option<u32>
fn ready_to_extend(&self, prefix: &dyn AsBinding) -> Option<u32>
Returns an optional variable by which this binding could
extend the given prefix.
Source§fn required_to_extend(
&self,
prefix: &dyn AsBinding,
target: u32,
) -> Option<Option<u32>>
fn required_to_extend( &self, prefix: &dyn AsBinding, target: u32, ) -> Option<Option<u32>>
Returns an optional variable which must be bound by the prefix
in order for this binding to extend the prefix. If None, then
this binding can never be used to extend the prefix to the
specified variable (e.g. because it doesn’t even bind it).
Auto Trait Implementations§
impl<'a, G> Freeze for Implemented<'a, G>
impl<'a, G> !RefUnwindSafe for Implemented<'a, G>
impl<'a, G> !Send for Implemented<'a, G>
impl<'a, G> !Sync for Implemented<'a, G>
impl<'a, G> Unpin for Implemented<'a, G>
impl<'a, G> !UnwindSafe for Implemented<'a, G>
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