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