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