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