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 for TypeDeclarationKeyword
impl PartialEq 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 ==
.source§impl<'a> TryFrom<&'a TypeDeclarationKeyword> for Locate
impl<'a> TryFrom<&'a TypeDeclarationKeyword> for Locate
source§impl TryFrom<AnyNode> for TypeDeclarationKeyword
impl TryFrom<AnyNode> for TypeDeclarationKeyword
source§impl TryFrom<TypeDeclarationKeyword> for Locate
impl TryFrom<TypeDeclarationKeyword> for Locate
impl StructuralPartialEq for TypeDeclarationKeyword
Auto Trait Implementations§
impl RefUnwindSafe for TypeDeclarationKeyword
impl Send for TypeDeclarationKeyword
impl Sync for TypeDeclarationKeyword
impl Unpin for TypeDeclarationKeyword
impl UnwindSafe for TypeDeclarationKeyword
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