Enum sv_parser::ClassMethod
source · pub enum ClassMethod {
Task(Box<ClassMethodTask>),
Function(Box<ClassMethodFunction>),
PureVirtual(Box<ClassMethodPureVirtual>),
ExternMethod(Box<ClassMethodExternMethod>),
Constructor(Box<ClassMethodConstructor>),
ExternConstructor(Box<ClassMethodExternConstructor>),
}
Variants§
Task(Box<ClassMethodTask>)
Function(Box<ClassMethodFunction>)
PureVirtual(Box<ClassMethodPureVirtual>)
ExternMethod(Box<ClassMethodExternMethod>)
Constructor(Box<ClassMethodConstructor>)
ExternConstructor(Box<ClassMethodExternConstructor>)
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 for ClassMethod
impl PartialEq 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 ==
.source§impl<'a> TryFrom<&'a ClassMethod> for Locate
impl<'a> TryFrom<&'a ClassMethod> for Locate
source§impl TryFrom<AnyNode> for ClassMethod
impl TryFrom<AnyNode> for ClassMethod
source§impl TryFrom<ClassMethod> for Locate
impl TryFrom<ClassMethod> for Locate
impl StructuralPartialEq for ClassMethod
Auto Trait Implementations§
impl RefUnwindSafe for ClassMethod
impl Send for ClassMethod
impl Sync for ClassMethod
impl Unpin for ClassMethod
impl UnwindSafe for ClassMethod
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