Enum json_ld_syntax::context::FragmentRef
source · pub enum FragmentRef<'a, M, C: AnyValue<M>> {
ContextArray(ArrayIter<'a, M, C::Definition>),
Context(ContextRef<'a, C::Definition>),
DefinitionFragment(FragmentRef<'a, M, C>),
}
Expand description
Context value fragment.
Variants§
ContextArray(ArrayIter<'a, M, C::Definition>)
Context array.
Context(ContextRef<'a, C::Definition>)
Context.
DefinitionFragment(FragmentRef<'a, M, C>)
Context definition fragment.
Implementations§
Auto Trait Implementations§
impl<'a, M, C> RefUnwindSafe for FragmentRef<'a, M, C>where C: RefUnwindSafe, M: RefUnwindSafe, <C as AnyValue<M>>::Definition: RefUnwindSafe,
impl<'a, M, C> Send for FragmentRef<'a, M, C>where M: Send + Sync,
impl<'a, M, C> Sync for FragmentRef<'a, M, C>where M: Sync,
impl<'a, M, C> Unpin for FragmentRef<'a, M, C>where M: Unpin,
impl<'a, M, C> UnwindSafe for FragmentRef<'a, M, C>where C: RefUnwindSafe, M: UnwindSafe + RefUnwindSafe, <C as AnyValue<M>>::Definition: RefUnwindSafe,
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