pub struct DeriveOpts {
pub derive_show: bool,
pub derive_eq: bool,
pub derive_error: bool,
}Fields§
§derive_show: boolWhether or not to derive Show for all types
derive_eq: boolWhether or not to derive Eq for all types
derive_error: boolWhether or not to declare as Error type for types “.*error”
Trait Implementations§
Source§impl Clone for DeriveOpts
impl Clone for DeriveOpts
Source§fn clone(&self) -> DeriveOpts
fn clone(&self) -> DeriveOpts
Returns a duplicate of the value. Read more
1.0.0 · 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 DeriveOpts
impl Debug for DeriveOpts
Source§impl Default for DeriveOpts
impl Default for DeriveOpts
Source§fn default() -> DeriveOpts
fn default() -> DeriveOpts
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DeriveOpts
impl RefUnwindSafe for DeriveOpts
impl Send for DeriveOpts
impl Sync for DeriveOpts
impl Unpin for DeriveOpts
impl UnwindSafe for DeriveOpts
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