pub enum PortBodyElement {
Error(Node<ParseErrorNode>),
InOutDecl(Node<InOutDecl>),
PortUsage(Node<PortUsage>),
Other(String),
}Expand description
Element inside a port usage body.
Variants§
Trait Implementations§
Source§impl Clone for PortBodyElement
impl Clone for PortBodyElement
Source§fn clone(&self) -> PortBodyElement
fn clone(&self) -> PortBodyElement
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 moreSource§impl Debug for PortBodyElement
impl Debug for PortBodyElement
impl Eq for PortBodyElement
Source§impl PartialEq for PortBodyElement
impl PartialEq for PortBodyElement
Source§fn eq(&self, other: &PortBodyElement) -> bool
fn eq(&self, other: &PortBodyElement) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PortBodyElement
Auto Trait Implementations§
impl Freeze for PortBodyElement
impl RefUnwindSafe for PortBodyElement
impl Send for PortBodyElement
impl Sync for PortBodyElement
impl Unpin for PortBodyElement
impl UnsafeUnpin for PortBodyElement
impl UnwindSafe for PortBodyElement
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