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