pub enum Generic {
Lifetime(Identifier),
Type(TypeExpr),
}Variants§
Lifetime(Identifier)
Type(TypeExpr)
Trait Implementations§
impl Eq for Generic
Source§impl From<GenericDecl> for Generic
impl From<GenericDecl> for Generic
Source§fn from(value: GenericDecl) -> Self
fn from(value: GenericDecl) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for Generic
Auto Trait Implementations§
impl Freeze for Generic
impl RefUnwindSafe for Generic
impl Send for Generic
impl Sync for Generic
impl Unpin for Generic
impl UnsafeUnpin for Generic
impl UnwindSafe for Generic
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