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