pub enum FragmentRef<'a> {
ContextArray(&'a [ContextEntry]),
Context(&'a ContextEntry),
DefinitionFragment(FragmentRef<'a>),
}Expand description
Context value fragment.
Variants§
ContextArray(&'a [ContextEntry])
Context array.
Context(&'a ContextEntry)
Context.
DefinitionFragment(FragmentRef<'a>)
Context definition fragment.
Implementations§
Auto Trait Implementations§
impl<'a> Forget for FragmentRef<'a>
impl<'a> Freeze for FragmentRef<'a>where
&'a [ContextEntry]: Freeze,
&'a ContextEntry: Freeze,
&'a IriRef: Freeze,
&'a LenientLangTagBuf: Freeze,
&'a Vocab: Freeze,
&'a Key: Freeze,
&'a TermDefinition: Freeze,
&'a Id: Freeze,
&'a Type: Freeze,
&'a Context: Freeze,
&'a Index: Freeze,
&'a Container: Freeze,
&'a Nest: Freeze,
&'a ContainerKind: Freeze,
impl<'a> Move 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>where
&'a [ContextEntry]: Unpin,
&'a ContextEntry: Unpin,
&'a IriRef: Unpin,
&'a LenientLangTagBuf: Unpin,
&'a Vocab: Unpin,
&'a Key: Unpin,
&'a TermDefinition: Unpin,
&'a Id: Unpin,
&'a Type: Unpin,
&'a Context: Unpin,
&'a Index: Unpin,
&'a Container: Unpin,
&'a Nest: Unpin,
&'a ContainerKind: Unpin,
impl<'a> UnsafeUnpin for FragmentRef<'a>where
&'a [ContextEntry]: UnsafeUnpin,
&'a ContextEntry: UnsafeUnpin,
&'a IriRef: UnsafeUnpin,
&'a LenientLangTagBuf: UnsafeUnpin,
&'a Vocab: UnsafeUnpin,
&'a Key: UnsafeUnpin,
&'a TermDefinition: UnsafeUnpin,
&'a Id: UnsafeUnpin,
&'a Type: UnsafeUnpin,
&'a Context: UnsafeUnpin,
&'a Index: UnsafeUnpin,
&'a Container: UnsafeUnpin,
&'a Nest: UnsafeUnpin,
&'a ContainerKind: UnsafeUnpin,
impl<'a> UnwindSafe for FragmentRef<'a>where
&'a [ContextEntry]: UnwindSafe,
&'a ContextEntry: UnwindSafe,
&'a IriRef: UnwindSafe,
&'a LenientLangTagBuf: UnwindSafe,
&'a Vocab: UnwindSafe,
&'a Key: UnwindSafe,
&'a TermDefinition: UnwindSafe,
&'a Id: UnwindSafe,
&'a Type: UnwindSafe,
&'a Context: UnwindSafe,
&'a Index: UnwindSafe,
&'a Container: UnwindSafe,
&'a Nest: UnwindSafe,
&'a ContainerKind: UnwindSafe,
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