pub enum TermDefinitionRef<'a, M, C> {
Simple(SimpleRef<'a>),
Expanded(ExpandedRef<'a, M, C>),
}
Expand description
Term definition.
Variants
Simple(SimpleRef<'a>)
Expanded(ExpandedRef<'a, M, C>)
Implementations
sourceimpl<'a, M, C> TermDefinitionRef<'a, M, C>
impl<'a, M, C> TermDefinitionRef<'a, M, C>
Trait Implementations
sourceimpl<'a, M, C> Clone for TermDefinitionRef<'a, M, C>where
M: Clone,
impl<'a, M, C> Clone for TermDefinitionRef<'a, M, C>where
M: Clone,
sourceimpl<'a, M: Clone, C> From<&'a TermDefinition<M, C>> for TermDefinitionRef<'a, M, C>
impl<'a, M: Clone, C> From<&'a TermDefinition<M, C>> for TermDefinitionRef<'a, M, C>
sourcefn from(d: &'a TermDefinition<M, C>) -> Self
fn from(d: &'a TermDefinition<M, C>) -> Self
Converts to this type from the input type.
sourceimpl<'a, M: Clone, C: AnyValue<M> + PrecomputeSize> PrecomputeSize for TermDefinitionRef<'a, M, C>
impl<'a, M: Clone, C: AnyValue<M> + PrecomputeSize> PrecomputeSize for TermDefinitionRef<'a, M, C>
sourceimpl<'a, M: Clone, C: AnyValue<M> + PrintWithSize> PrintWithSize for TermDefinitionRef<'a, M, C>
impl<'a, M: Clone, C: AnyValue<M> + PrintWithSize> PrintWithSize for TermDefinitionRef<'a, M, C>
Auto Trait Implementations
impl<'a, M, C> RefUnwindSafe for TermDefinitionRef<'a, M, C>where
C: RefUnwindSafe,
M: RefUnwindSafe,
impl<'a, M, C> Send for TermDefinitionRef<'a, M, C>where
C: Sync,
M: Send + Sync,
impl<'a, M, C> Sync for TermDefinitionRef<'a, M, C>where
C: Sync,
M: Sync,
impl<'a, M, C> Unpin for TermDefinitionRef<'a, M, C>where
M: Unpin,
impl<'a, M, C> UnwindSafe for TermDefinitionRef<'a, M, C>where
C: RefUnwindSafe,
M: UnwindSafe + 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