pub struct ModuleNode {
pub name: String,
pub specification_part: Vec<SpecificationStmt>,
pub module_subprograms: Vec<ProgramUnitKind>,
pub span: Range<usize>,
}Expand description
Module node.
Fields§
§name: StringThe name of the module.
specification_part: Vec<SpecificationStmt>The specification statements in the module.
module_subprograms: Vec<ProgramUnitKind>Subprograms defined within the module.
span: Range<usize>The byte range of this node in the source text.
Trait Implementations§
Source§impl Clone for ModuleNode
impl Clone for ModuleNode
Source§fn clone(&self) -> ModuleNode
fn clone(&self) -> ModuleNode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ModuleNode
impl Debug for ModuleNode
Source§impl<'de> Deserialize<'de> for ModuleNode
impl<'de> Deserialize<'de> for ModuleNode
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ModuleNode
impl PartialEq for ModuleNode
Source§fn eq(&self, other: &ModuleNode) -> bool
fn eq(&self, other: &ModuleNode) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ModuleNode
impl Serialize for ModuleNode
impl StructuralPartialEq for ModuleNode
Auto Trait Implementations§
impl Freeze for ModuleNode
impl RefUnwindSafe for ModuleNode
impl Send for ModuleNode
impl Sync for ModuleNode
impl Unpin for ModuleNode
impl UnsafeUnpin for ModuleNode
impl UnwindSafe for ModuleNode
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