Struct json_ld_core::context::inverse::InverseContext
source · 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> RefUnwindSafe for InverseContext<T, B>where B: RefUnwindSafe, T: RefUnwindSafe,
impl<T, B> Send for InverseContext<T, B>where B: Send, T: Send,
impl<T, B> Sync for InverseContext<T, B>where B: Sync, T: Sync,
impl<T, B> Unpin for InverseContext<T, B>where B: Unpin, T: Unpin,
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