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