Enum sv_parser::InterfaceClassItem
source · pub enum InterfaceClassItem {
TypeDeclaration(Box<TypeDeclaration, Global>),
Method(Box<InterfaceClassItemMethod, Global>),
LocalParameterDeclaration(Box<(LocalParameterDeclaration, Symbol), Global>),
ParameterDeclaration(Box<(ParameterDeclaration, Symbol), Global>),
Null(Box<Symbol, Global>),
}
Variants§
TypeDeclaration(Box<TypeDeclaration, Global>)
Method(Box<InterfaceClassItemMethod, Global>)
LocalParameterDeclaration(Box<(LocalParameterDeclaration, Symbol), Global>)
ParameterDeclaration(Box<(ParameterDeclaration, Symbol), Global>)
Null(Box<Symbol, Global>)
Trait Implementations§
source§impl Clone for InterfaceClassItem
impl Clone for InterfaceClassItem
source§fn clone(&self) -> InterfaceClassItem
fn clone(&self) -> InterfaceClassItem
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 InterfaceClassItem
impl Debug for InterfaceClassItem
source§impl<'a> From<&'a InterfaceClassItem> for RefNode<'a>
impl<'a> From<&'a InterfaceClassItem> for RefNode<'a>
source§fn from(x: &'a InterfaceClassItem) -> RefNode<'a>
fn from(x: &'a InterfaceClassItem) -> RefNode<'a>
Converts to this type from the input type.
source§impl<'a> From<&'a InterfaceClassItem> for RefNodes<'a>
impl<'a> From<&'a InterfaceClassItem> for RefNodes<'a>
source§fn from(x: &'a InterfaceClassItem) -> RefNodes<'a>
fn from(x: &'a InterfaceClassItem) -> RefNodes<'a>
Converts to this type from the input type.
source§impl From<InterfaceClassItem> for AnyNode
impl From<InterfaceClassItem> for AnyNode
source§fn from(x: InterfaceClassItem) -> AnyNode
fn from(x: InterfaceClassItem) -> AnyNode
Converts to this type from the input type.
source§impl<'a> IntoIterator for &'a InterfaceClassItem
impl<'a> IntoIterator for &'a InterfaceClassItem
source§impl PartialEq<InterfaceClassItem> for InterfaceClassItem
impl PartialEq<InterfaceClassItem> for InterfaceClassItem
source§fn eq(&self, other: &InterfaceClassItem) -> bool
fn eq(&self, other: &InterfaceClassItem) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.