pub enum TypeDeclarationKeyword {
Enum(Box<Keyword>),
Struct(Box<Keyword>),
Union(Box<Keyword>),
Class(Box<Keyword>),
InterfaceClass(Box<(Keyword, Keyword)>),
}
Variants§
Enum(Box<Keyword>)
Struct(Box<Keyword>)
Union(Box<Keyword>)
Class(Box<Keyword>)
InterfaceClass(Box<(Keyword, Keyword)>)
Trait Implementations§
source§impl Clone for TypeDeclarationKeyword
impl Clone for TypeDeclarationKeyword
source§fn clone(&self) -> TypeDeclarationKeyword
fn clone(&self) -> TypeDeclarationKeyword
Returns a copy of the value. Read more
1.0.0 · 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 TypeDeclarationKeyword
impl Debug for TypeDeclarationKeyword
source§impl<'a> From<&'a TypeDeclarationKeyword> for RefNode<'a>
impl<'a> From<&'a TypeDeclarationKeyword> for RefNode<'a>
source§fn from(x: &'a TypeDeclarationKeyword) -> Self
fn from(x: &'a TypeDeclarationKeyword) -> Self
Converts to this type from the input type.
source§impl<'a> From<&'a TypeDeclarationKeyword> for RefNodes<'a>
impl<'a> From<&'a TypeDeclarationKeyword> for RefNodes<'a>
source§fn from(x: &'a TypeDeclarationKeyword) -> Self
fn from(x: &'a TypeDeclarationKeyword) -> Self
Converts to this type from the input type.
source§impl From<TypeDeclarationKeyword> for AnyNode
impl From<TypeDeclarationKeyword> for AnyNode
source§fn from(x: TypeDeclarationKeyword) -> Self
fn from(x: TypeDeclarationKeyword) -> Self
Converts to this type from the input type.
source§impl<'a> IntoIterator for &'a TypeDeclarationKeyword
impl<'a> IntoIterator for &'a TypeDeclarationKeyword
source§impl PartialEq<TypeDeclarationKeyword> for TypeDeclarationKeyword
impl PartialEq<TypeDeclarationKeyword> for TypeDeclarationKeyword
source§fn eq(&self, other: &TypeDeclarationKeyword) -> bool
fn eq(&self, other: &TypeDeclarationKeyword) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.