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