pub struct PortTemplate {
pub key: PortKey,
pub dir: PortDirection,
pub kind: PortKind,
pub capacity: PortCapacity,
pub ty: Option<TypeDesc>,
pub data: Value,
}Expand description
A template for a port to be instantiated during an insertion workflow.
Fields§
§key: PortKey§dir: PortDirection§kind: PortKind§capacity: PortCapacity§ty: Option<TypeDesc>§data: ValueTrait Implementations§
Source§impl Clone for PortTemplate
impl Clone for PortTemplate
Source§fn clone(&self) -> PortTemplate
fn clone(&self) -> PortTemplate
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 PortTemplate
impl RefUnwindSafe for PortTemplate
impl Send for PortTemplate
impl Sync for PortTemplate
impl Unpin for PortTemplate
impl UnsafeUnpin for PortTemplate
impl UnwindSafe for PortTemplate
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