pub enum PortDefBody {
Semicolon,
Brace {
elements: Vec<Node<PortDefBodyElement>>,
},
}Expand description
Body of a port definition: ; or { PortDefBodyElement* }.
Variants§
Trait Implementations§
Source§impl Clone for PortDefBody
impl Clone for PortDefBody
Source§fn clone(&self) -> PortDefBody
fn clone(&self) -> PortDefBody
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 PortDefBody
impl Debug for PortDefBody
Source§impl PartialEq for PortDefBody
impl PartialEq for PortDefBody
Source§fn eq(&self, other: &PortDefBody) -> bool
fn eq(&self, other: &PortDefBody) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for PortDefBody
impl StructuralPartialEq for PortDefBody
Auto Trait Implementations§
impl Freeze for PortDefBody
impl RefUnwindSafe for PortDefBody
impl Send for PortDefBody
impl Sync for PortDefBody
impl Unpin for PortDefBody
impl UnsafeUnpin for PortDefBody
impl UnwindSafe for PortDefBody
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