Struct json_ld::context::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>
pub fn new() -> InverseContext<T, B>
source§impl<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§
source§impl<T, B> Default for InverseContext<T, B>
impl<T, B> Default for InverseContext<T, B>
source§fn default() -> InverseContext<T, B>
fn default() -> InverseContext<T, B>
Returns the “default value” for a type. Read more