pub struct PortDef {
pub identification: Identification,
pub specializes: Option<String>,
pub specializes_span: Option<Span>,
pub body: PortDefBody,
}Expand description
Port definition: port def Identification body.
Fields§
§identification: Identification§specializes: Option<String>Supertype after :>, e.g. Some(“ClutchPort”) for port def ManualClutchPort :> ClutchPort.
specializes_span: Option<Span>§body: PortDefBodyTrait Implementations§
impl Eq for PortDef
impl StructuralPartialEq for PortDef
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