pub struct PatternInstance { /* private fields */ }Expand description
Expanded pattern include: export names map to parent-builder ports.
Implementations§
Source§impl PatternInstance
impl PatternInstance
Sourcepub fn input(&self, export: &str) -> Result<InputPort, BuildError>
pub fn input(&self, export: &str) -> Result<InputPort, BuildError>
Resolve a pattern input export to a parent-builder input port.
Sourcepub fn output(&self, export: &str) -> Result<OutputPort, BuildError>
pub fn output(&self, export: &str) -> Result<OutputPort, BuildError>
Resolve a pattern output export to a parent-builder output port.
Trait Implementations§
Source§impl Clone for PatternInstance
impl Clone for PatternInstance
Source§fn clone(&self) -> PatternInstance
fn clone(&self) -> PatternInstance
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 moreAuto Trait Implementations§
impl Freeze for PatternInstance
impl RefUnwindSafe for PatternInstance
impl Send for PatternInstance
impl Sync for PatternInstance
impl Unpin for PatternInstance
impl UnsafeUnpin for PatternInstance
impl UnwindSafe for PatternInstance
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