pub struct PortInfo {
pub name: &'static str,
pub kind: &'static str,
pub required: bool,
pub connected: bool,
}Expand description
One declared port, for the elaboration report.
Fields§
§name: &'static strThe field name it was declared under.
kind: &'static str"put", "get", "peek", "publish", "subscribe".
required: boolMust it be connected? Analysis ports need not be (D85).
connected: boolIs it connected?
Trait Implementations§
impl Eq for PortInfo
impl StructuralPartialEq for PortInfo
Auto Trait Implementations§
impl Freeze for PortInfo
impl RefUnwindSafe for PortInfo
impl Send for PortInfo
impl Sync for PortInfo
impl Unpin for PortInfo
impl UnsafeUnpin for PortInfo
impl UnwindSafe for PortInfo
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