pub struct InverseContext<T, B> { /* private fields */ }
Expand description
Inverse context.
Implementations§
Source§impl<T, B> InverseContext<T, B>
impl<T, B> InverseContext<T, B>
Source§impl<T: Hash + Eq, B: Hash + Eq> InverseContext<T, B>
impl<T: Hash + Eq, B: Hash + Eq> InverseContext<T, B>
pub fn contains(&self, term: &Term<T, B>) -> bool
pub fn insert(&mut self, term: Term<T, B>, value: InverseDefinition<T>)
pub fn get(&self, term: &Term<T, B>) -> Option<&InverseDefinition<T>>
pub fn get_mut( &mut self, term: &Term<T, B>, ) -> Option<&mut InverseDefinition<T>>
pub fn select(
&self,
var: &Term<T, B>,
containers: &[Container],
selection: &Selection<'_, T>,
) -> Option<&Key>where
T: Clone,
Trait Implementations§
Source§impl<T, B> Default for InverseContext<T, B>
impl<T, B> Default for InverseContext<T, B>
Auto Trait Implementations§
impl<T, B> Freeze for InverseContext<T, B>
impl<T, B> RefUnwindSafe for InverseContext<T, B>where
B: RefUnwindSafe,
T: RefUnwindSafe,
impl<T, B> Send for InverseContext<T, B>
impl<T, B> Sync for InverseContext<T, B>
impl<T, B> Unpin for InverseContext<T, B>
impl<T, B> UnwindSafe for InverseContext<T, B>where
B: UnwindSafe,
T: UnwindSafe,
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