Struct sv_parser::FormalArgument
source · pub struct FormalArgument {
pub nodes: (SimpleIdentifier, Option<(Symbol, DefaultText)>),
}
Fields§
§nodes: (SimpleIdentifier, Option<(Symbol, DefaultText)>)
Trait Implementations§
source§impl Clone for FormalArgument
impl Clone for FormalArgument
source§fn clone(&self) -> FormalArgument
fn clone(&self) -> FormalArgument
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 FormalArgument
impl Debug for FormalArgument
source§impl<'a> From<&'a FormalArgument> for RefNode<'a>
impl<'a> From<&'a FormalArgument> for RefNode<'a>
source§fn from(x: &'a FormalArgument) -> RefNode<'a>
fn from(x: &'a FormalArgument) -> RefNode<'a>
Converts to this type from the input type.
source§impl<'a> From<&'a FormalArgument> for RefNodes<'a>
impl<'a> From<&'a FormalArgument> for RefNodes<'a>
source§fn from(x: &'a FormalArgument) -> RefNodes<'a>
fn from(x: &'a FormalArgument) -> RefNodes<'a>
Converts to this type from the input type.
source§impl From<FormalArgument> for AnyNode
impl From<FormalArgument> for AnyNode
source§fn from(x: FormalArgument) -> AnyNode
fn from(x: FormalArgument) -> AnyNode
Converts to this type from the input type.
source§impl<'a> IntoIterator for &'a FormalArgument
impl<'a> IntoIterator for &'a FormalArgument
source§impl PartialEq for FormalArgument
impl PartialEq for FormalArgument
source§fn eq(&self, other: &FormalArgument) -> bool
fn eq(&self, other: &FormalArgument) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<'a> TryFrom<&'a FormalArgument> for Locate
impl<'a> TryFrom<&'a FormalArgument> for Locate
source§impl TryFrom<AnyNode> for FormalArgument
impl TryFrom<AnyNode> for FormalArgument
source§impl TryFrom<FormalArgument> for Locate
impl TryFrom<FormalArgument> for Locate
impl StructuralPartialEq for FormalArgument
Auto Trait Implementations§
impl RefUnwindSafe for FormalArgument
impl Send for FormalArgument
impl Sync for FormalArgument
impl Unpin for FormalArgument
impl UnwindSafe for FormalArgument
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