Enum json_ld_syntax::context::ContextRef
source · [−]Expand description
Reference to context.
Variants
Null
IriRef(IriRef<'a>)
Definition(&'a D)
Implementations
sourceimpl<'a, D> ContextRef<'a, D>
impl<'a, D> ContextRef<'a, D>
pub fn is_object(&self) -> bool
pub fn sub_items<M>(&self) -> ContextSubFragments<'a, M, D>ⓘNotable traits for ContextSubFragments<'a, M, D>impl<'a, M: 'a + Clone, D: AnyDefinition<M>> Iterator for ContextSubFragments<'a, M, D> type Item = FragmentRef<'a, M, D::ContextValue>;
where
D: AnyDefinition<M>,
Trait Implementations
sourceimpl<'a, D> Clone for ContextRef<'a, D>
impl<'a, D> Clone for ContextRef<'a, D>
sourceimpl<'a, D> From<&'a Context<D>> for ContextRef<'a, D>
impl<'a, D> From<&'a Context<D>> for ContextRef<'a, D>
impl<'a, D> Copy for ContextRef<'a, D>
Auto Trait Implementations
impl<'a, D> RefUnwindSafe for ContextRef<'a, D>where
D: RefUnwindSafe,
impl<'a, D> Send for ContextRef<'a, D>where
D: Sync,
impl<'a, D> Sync for ContextRef<'a, D>where
D: Sync,
impl<'a, D> Unpin for ContextRef<'a, D>
impl<'a, D> UnwindSafe for ContextRef<'a, D>where
D: RefUnwindSafe,
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