Enum moore_svlog::PortMappingSource [−][src]
pub enum PortMappingSource<'a> {
ModuleInst {
module: &'a dyn PortedNode<'a>,
inst: NodeId,
outer_env: ParamEnv,
inner_env: ParamEnv,
pos: &'a [PosParam],
named: &'a [NamedParam],
},
InterfaceInst {
interface: &'a dyn PortedNode<'a>,
inst: NodeId,
outer_env: ParamEnv,
inner_env: ParamEnv,
pos: &'a [PosParam],
named: &'a [NamedParam],
},
}
Expand description
A location that implies a port mapping.
Variants
Fields of ModuleInst
module: &'a dyn PortedNode<'a>
inst: NodeId
outer_env: ParamEnv
The parameter environment around the instantiation.
inner_env: ParamEnv
The parameter environment generated by the instantiation.
pos: &'a [PosParam]
named: &'a [NamedParam]
Fields of InterfaceInst
interface: &'a dyn PortedNode<'a>
inst: NodeId
outer_env: ParamEnv
The parameter environment around the instantiation.
inner_env: ParamEnv
The parameter environment generated by the instantiation.
pos: &'a [PosParam]
named: &'a [NamedParam]
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl<'a> !RefUnwindSafe for PortMappingSource<'a>
impl<'a> Send for PortMappingSource<'a>
impl<'a> Sync for PortMappingSource<'a>
impl<'a> Unpin for PortMappingSource<'a>
impl<'a> !UnwindSafe for PortMappingSource<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more