pub enum FieldsStyle {
Struct,
Tuple,
Newtype,
Unit,
}Expand description
The style of a struct, variant, or tuple field list.
Variants§
Trait Implementations§
Source§impl Clone for FieldsStyle
impl Clone for FieldsStyle
Source§fn clone(&self) -> FieldsStyle
fn clone(&self) -> FieldsStyle
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 moreimpl Copy for FieldsStyle
Source§impl Debug for FieldsStyle
impl Debug for FieldsStyle
impl Eq for FieldsStyle
Source§impl PartialEq for FieldsStyle
impl PartialEq for FieldsStyle
Source§fn eq(&self, other: &FieldsStyle) -> bool
fn eq(&self, other: &FieldsStyle) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for FieldsStyle
Auto Trait Implementations§
impl Freeze for FieldsStyle
impl RefUnwindSafe for FieldsStyle
impl Send for FieldsStyle
impl Sync for FieldsStyle
impl Unpin for FieldsStyle
impl UnsafeUnpin for FieldsStyle
impl UnwindSafe for FieldsStyle
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