pub enum FragmentRef<'a> {
ContextArray(&'a [ContextEntry]),
Context(&'a ContextEntry),
DefinitionFragment(FragmentRef<'a>),
}Expand description
Fragment of a context value: any JSON value reachable inside a @context.
Variants§
ContextArray(&'a [ContextEntry])
An array of context entries.
Context(&'a ContextEntry)
A single context entry.
DefinitionFragment(FragmentRef<'a>)
A fragment of a context definition.
Implementations§
Source§impl<'a> FragmentRef<'a>
impl<'a> FragmentRef<'a>
Auto Trait Implementations§
impl<'a> Freeze for FragmentRef<'a>
impl<'a> RefUnwindSafe for FragmentRef<'a>
impl<'a> Send for FragmentRef<'a>
impl<'a> Sync for FragmentRef<'a>
impl<'a> Unpin for FragmentRef<'a>
impl<'a> UnsafeUnpin for FragmentRef<'a>
impl<'a> UnwindSafe for FragmentRef<'a>
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
Source§impl<T> BorrowUnordered for T
impl<T> BorrowUnordered for T
Source§fn as_unordered(&self) -> &Unordered<T>
fn as_unordered(&self) -> &Unordered<T>
Views this value as an
Unordered reference.