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