Enum sv_parser::ExternTfDeclaration
source · pub enum ExternTfDeclaration {
Method(Box<ExternTfDeclarationMethod>),
Task(Box<ExternTfDeclarationTask>),
}
Variants§
Method(Box<ExternTfDeclarationMethod>)
Task(Box<ExternTfDeclarationTask>)
Trait Implementations§
source§impl Clone for ExternTfDeclaration
impl Clone for ExternTfDeclaration
source§fn clone(&self) -> ExternTfDeclaration
fn clone(&self) -> ExternTfDeclaration
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 ExternTfDeclaration
impl Debug for ExternTfDeclaration
source§impl<'a> From<&'a ExternTfDeclaration> for RefNode<'a>
impl<'a> From<&'a ExternTfDeclaration> for RefNode<'a>
source§fn from(x: &'a ExternTfDeclaration) -> RefNode<'a>
fn from(x: &'a ExternTfDeclaration) -> RefNode<'a>
Converts to this type from the input type.
source§impl<'a> From<&'a ExternTfDeclaration> for RefNodes<'a>
impl<'a> From<&'a ExternTfDeclaration> for RefNodes<'a>
source§fn from(x: &'a ExternTfDeclaration) -> RefNodes<'a>
fn from(x: &'a ExternTfDeclaration) -> RefNodes<'a>
Converts to this type from the input type.
source§impl From<ExternTfDeclaration> for AnyNode
impl From<ExternTfDeclaration> for AnyNode
source§fn from(x: ExternTfDeclaration) -> AnyNode
fn from(x: ExternTfDeclaration) -> AnyNode
Converts to this type from the input type.
source§impl<'a> IntoIterator for &'a ExternTfDeclaration
impl<'a> IntoIterator for &'a ExternTfDeclaration
source§impl PartialEq for ExternTfDeclaration
impl PartialEq for ExternTfDeclaration
source§fn eq(&self, other: &ExternTfDeclaration) -> bool
fn eq(&self, other: &ExternTfDeclaration) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<'a> TryFrom<&'a ExternTfDeclaration> for Locate
impl<'a> TryFrom<&'a ExternTfDeclaration> for Locate
source§impl TryFrom<AnyNode> for ExternTfDeclaration
impl TryFrom<AnyNode> for ExternTfDeclaration
source§impl TryFrom<ExternTfDeclaration> for Locate
impl TryFrom<ExternTfDeclaration> for Locate
impl StructuralPartialEq for ExternTfDeclaration
Auto Trait Implementations§
impl RefUnwindSafe for ExternTfDeclaration
impl Send for ExternTfDeclaration
impl Sync for ExternTfDeclaration
impl Unpin for ExternTfDeclaration
impl UnwindSafe for ExternTfDeclaration
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