Struct json_ld::context::InverseContext
source · [−]pub struct InverseContext<T, B> { /* private fields */ }
Implementations
sourceimpl<T, B> InverseContext<T, B>
impl<T, B> InverseContext<T, B>
pub fn new() -> InverseContext<T, B>
sourceimpl<T, B> InverseContext<T, B>where
T: Hash + Eq,
B: Hash + Eq,
impl<T, B> InverseContext<T, B>where
T: Hash + Eq,
B: Hash + Eq,
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
sourceimpl<T, B> Default for InverseContext<T, B>
impl<T, B> Default for InverseContext<T, B>
sourcefn default() -> InverseContext<T, B>
fn default() -> InverseContext<T, B>
Returns the “default value” for a type. Read more
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more