pub enum NamedTypeDefinition<'a> {
Definition(TypeDefinition<'a>),
Extension(TypeDefinition<'a>),
}
Expand description
A [TypeDefintion] associated with a named Type
Variants§
Definition(TypeDefinition<'a>)
Extension(TypeDefinition<'a>)
Auto Trait Implementations§
impl<'a> Freeze for NamedTypeDefinition<'a>
impl<'a> RefUnwindSafe for NamedTypeDefinition<'a>
impl<'a> Send for NamedTypeDefinition<'a>
impl<'a> Sync for NamedTypeDefinition<'a>
impl<'a> Unpin for NamedTypeDefinition<'a>
impl<'a> UnwindSafe for NamedTypeDefinition<'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