pub enum FieldAttrVal {
Inherit,
Override(bool),
}
Variants§
Inherit
Inherent the default value. This is the default.
Override(bool)
Explicitly override the value to true
or false
.
Trait Implementations§
source§impl Debug for FieldAttrVal
impl Debug for FieldAttrVal
source§impl Hash for FieldAttrVal
impl Hash for FieldAttrVal
source§impl PartialEq<FieldAttrVal> for FieldAttrVal
impl PartialEq<FieldAttrVal> for FieldAttrVal
source§fn eq(&self, other: &FieldAttrVal) -> bool
fn eq(&self, other: &FieldAttrVal) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for FieldAttrVal
impl StructuralEq for FieldAttrVal
impl StructuralPartialEq for FieldAttrVal
Auto Trait Implementations§
impl RefUnwindSafe for FieldAttrVal
impl Send for FieldAttrVal
impl Sync for FieldAttrVal
impl Unpin for FieldAttrVal
impl UnwindSafe for FieldAttrVal
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