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 duplicate 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§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 Freeze for PackageDeclaration
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