pub struct Module {
pub id: NodeId,
pub name: Name,
pub span: Span,
pub lifetime: Lifetime,
pub ports: Vec<Port>,
pub params: Vec<ParamDecl>,
pub body: HierarchyBody,
}Expand description
A module.
Fields§
§id: NodeId§name: Name§span: Span§lifetime: Lifetime§ports: Vec<Port>§params: Vec<ParamDecl>§body: HierarchyBodyAuto Trait Implementations§
impl Freeze for Module
impl RefUnwindSafe for Module
impl Send for Module
impl Sync for Module
impl Unpin for Module
impl UnwindSafe for Module
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