pub struct Modified {
pub against: Baseline,
pub resettable: bool,
}Expand description
How a field is modified.
Fields§
§against: BaselineWhat it differs from.
resettable: boolThe field offers “reset to default” (only when it differs from its default, and it is editable).
Trait Implementations§
impl Copy for Modified
impl Eq for Modified
impl StructuralPartialEq for Modified
Auto Trait Implementations§
impl Freeze for Modified
impl RefUnwindSafe for Modified
impl Send for Modified
impl Sync for Modified
impl Unpin for Modified
impl UnsafeUnpin for Modified
impl UnwindSafe for Modified
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