pub enum PerformBodyElement {
Doc(Node<DocComment>),
InOut(Node<PerformInOutBinding>),
}Expand description
Element inside a perform body: doc comment or in/out binding.
Variants§
Doc(Node<DocComment>)
InOut(Node<PerformInOutBinding>)
Trait Implementations§
Source§impl Clone for PerformBodyElement
impl Clone for PerformBodyElement
Source§fn clone(&self) -> PerformBodyElement
fn clone(&self) -> PerformBodyElement
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 PerformBodyElement
impl Debug for PerformBodyElement
Source§impl PartialEq for PerformBodyElement
impl PartialEq for PerformBodyElement
Source§fn eq(&self, other: &PerformBodyElement) -> bool
fn eq(&self, other: &PerformBodyElement) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for PerformBodyElement
impl StructuralPartialEq for PerformBodyElement
Auto Trait Implementations§
impl Freeze for PerformBodyElement
impl RefUnwindSafe for PerformBodyElement
impl Send for PerformBodyElement
impl Sync for PerformBodyElement
impl Unpin for PerformBodyElement
impl UnsafeUnpin for PerformBodyElement
impl UnwindSafe for PerformBodyElement
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