pub struct Json<J: JsonContext, T: Id = IriBuf> { /* private fields */ }
Implementations
Trait Implementations
type LocalContext = J
type LocalContext = J
The type of local contexts associated to this type of contexts.
Create a newly-initialized active context with the given base IRI.
Get the definition of a term.
Original base URL of the context.
Optional vocabulary mapping.
Optional default language.
Optional default base direction.
Get the previous context.
fn definitions<'a>(
&'a self
) -> Box<dyn Iterator<Item = (&'a String, &'a TermDefinition<T, Self>)> + 'a>
fn set(
&mut self,
term: &str,
definition: Option<TermDefinition<T, Self>>
) -> Option<TermDefinition<T, Self>>
fn set(
&mut self,
term: &str,
definition: Option<TermDefinition<T, Self>>
) -> Option<TermDefinition<T, Self>>
Defines the given term.
Sets the base IRI of the context.
Sets the vocabulary.
Sets the default language.
Sets de default language base direction.
Sets the previous context.
Auto Trait Implementations
impl<J, T> RefUnwindSafe for Json<J, T> where
J: RefUnwindSafe,
T: RefUnwindSafe,
impl<J, T> UnwindSafe for Json<J, T> where
J: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more