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