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