pub enum PortBody {
Semicolon,
Brace,
BraceWithPorts {
elements: Vec<Node<PortUsage>>,
},
}Expand description
Body of a port usage: ; or { PortUsage* } (nested ports).
Variants§
Semicolon
Brace
BraceWithPorts
Brace with nested port usages (e.g. port vehicleToRoadPort redefines … { port left…; port right…; }).
Trait Implementations§
impl Eq for PortBody
impl StructuralPartialEq for PortBody
Auto Trait Implementations§
impl Freeze for PortBody
impl RefUnwindSafe for PortBody
impl Send for PortBody
impl Sync for PortBody
impl Unpin for PortBody
impl UnsafeUnpin for PortBody
impl UnwindSafe for PortBody
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