pub struct PortDef {
pub id: u32,
pub port_type: PortType,
pub is_hot: bool,
pub description: String,
}Expand description
Inlet definition
Fields§
§id: u32Port ID (0-based)
port_type: PortTypePort type
is_hot: boolWhether this is a hot inlet (triggers output on message receipt). Always false for outlets.
description: StringDescription (digest text)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PortDef
impl RefUnwindSafe for PortDef
impl Send for PortDef
impl Sync for PortDef
impl Unpin for PortDef
impl UnsafeUnpin for PortDef
impl UnwindSafe for PortDef
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