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