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