Enum sv_parser::ClassMethod
source · pub enum ClassMethod {
Task(Box<ClassMethodTask, Global>),
Function(Box<ClassMethodFunction, Global>),
PureVirtual(Box<ClassMethodPureVirtual, Global>),
ExternMethod(Box<ClassMethodExternMethod, Global>),
Constructor(Box<ClassMethodConstructor, Global>),
ExternConstructor(Box<ClassMethodExternConstructor, Global>),
}
Variants§
Task(Box<ClassMethodTask, Global>)
Function(Box<ClassMethodFunction, Global>)
PureVirtual(Box<ClassMethodPureVirtual, Global>)
ExternMethod(Box<ClassMethodExternMethod, Global>)
Constructor(Box<ClassMethodConstructor, Global>)
ExternConstructor(Box<ClassMethodExternConstructor, Global>)
Trait Implementations§
source§impl Clone for ClassMethod
impl Clone for ClassMethod
source§fn clone(&self) -> ClassMethod
fn clone(&self) -> ClassMethod
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 ClassMethod
impl Debug for ClassMethod
source§impl<'a> From<&'a ClassMethod> for RefNode<'a>
impl<'a> From<&'a ClassMethod> for RefNode<'a>
source§fn from(x: &'a ClassMethod) -> RefNode<'a>
fn from(x: &'a ClassMethod) -> RefNode<'a>
Converts to this type from the input type.
source§impl<'a> From<&'a ClassMethod> for RefNodes<'a>
impl<'a> From<&'a ClassMethod> for RefNodes<'a>
source§fn from(x: &'a ClassMethod) -> RefNodes<'a>
fn from(x: &'a ClassMethod) -> RefNodes<'a>
Converts to this type from the input type.
source§impl From<ClassMethod> for AnyNode
impl From<ClassMethod> for AnyNode
source§fn from(x: ClassMethod) -> AnyNode
fn from(x: ClassMethod) -> AnyNode
Converts to this type from the input type.
source§impl<'a> IntoIterator for &'a ClassMethod
impl<'a> IntoIterator for &'a ClassMethod
source§impl PartialEq<ClassMethod> for ClassMethod
impl PartialEq<ClassMethod> for ClassMethod
source§fn eq(&self, other: &ClassMethod) -> bool
fn eq(&self, other: &ClassMethod) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.