pub enum GenericDecl {
Lifetime(Identifier),
Type(Identifier, Vec<TypeExpr>),
}Variants§
Lifetime(Identifier)
Type(Identifier, Vec<TypeExpr>)
Trait Implementations§
Source§impl Clone for GenericDecl
impl Clone for GenericDecl
Source§fn clone(&self) -> GenericDecl
fn clone(&self) -> GenericDecl
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GenericDecl
impl Debug for GenericDecl
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.
Source§impl Serialize for GenericDecl
impl Serialize for GenericDecl
Auto Trait Implementations§
impl Freeze for GenericDecl
impl RefUnwindSafe for GenericDecl
impl Send for GenericDecl
impl Sync for GenericDecl
impl Unpin for GenericDecl
impl UnsafeUnpin for GenericDecl
impl UnwindSafe for GenericDecl
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