pub enum TypedTypeDecl {
Interface(TypedInterfaceDecl),
Class(TypedClassDecl),
NumberEnum(TypedNumberEnumDecl),
StringEnum(TypedStringEnumDecl),
Alias(TypedTypeAliasDecl),
}Expand description
Enums split by representation kind so the typed AST can’t represent a mixed-kind enum.
Variants§
Interface(TypedInterfaceDecl)
Class(TypedClassDecl)
NumberEnum(TypedNumberEnumDecl)
StringEnum(TypedStringEnumDecl)
Alias(TypedTypeAliasDecl)
Trait Implementations§
Source§impl Clone for TypedTypeDecl
impl Clone for TypedTypeDecl
Source§impl Debug for TypedTypeDecl
impl Debug for TypedTypeDecl
Source§impl PartialEq for TypedTypeDecl
impl PartialEq for TypedTypeDecl
impl StructuralPartialEq for TypedTypeDecl
Auto Trait Implementations§
impl Freeze for TypedTypeDecl
impl RefUnwindSafe for TypedTypeDecl
impl Send for TypedTypeDecl
impl Sync for TypedTypeDecl
impl Unpin for TypedTypeDecl
impl UnsafeUnpin for TypedTypeDecl
impl UnwindSafe for TypedTypeDecl
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