pub enum ConnectionDefBodyElement {
EndDecl(Node<EndDecl>),
RefDecl(Node<RefDecl>),
ConnectStmt(Node<ConnectStmt>),
}Variants§
Trait Implementations§
Source§impl Clone for ConnectionDefBodyElement
impl Clone for ConnectionDefBodyElement
Source§fn clone(&self) -> ConnectionDefBodyElement
fn clone(&self) -> ConnectionDefBodyElement
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 ConnectionDefBodyElement
impl Debug for ConnectionDefBodyElement
impl Eq for ConnectionDefBodyElement
Source§impl PartialEq for ConnectionDefBodyElement
impl PartialEq for ConnectionDefBodyElement
Source§fn eq(&self, other: &ConnectionDefBodyElement) -> bool
fn eq(&self, other: &ConnectionDefBodyElement) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ConnectionDefBodyElement
Auto Trait Implementations§
impl Freeze for ConnectionDefBodyElement
impl RefUnwindSafe for ConnectionDefBodyElement
impl Send for ConnectionDefBodyElement
impl Sync for ConnectionDefBodyElement
impl Unpin for ConnectionDefBodyElement
impl UnsafeUnpin for ConnectionDefBodyElement
impl UnwindSafe for ConnectionDefBodyElement
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