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§
source§impl<'a, M, C> TermDefinitionRef<'a, M, C>
impl<'a, M, C> TermDefinitionRef<'a, M, C>
Trait Implementations§
source§impl<'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,
source§impl<'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>
source§fn from(d: &'a TermDefinition<M, C>) -> Self
fn from(d: &'a TermDefinition<M, C>) -> Self
Converts to this type from the input type.
source§impl<'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>
source§impl<'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§
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