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