pub trait HasModifiedFlag {
// Required methods
fn has_modified_flag(&self) -> bool;
fn set_modified_flag(&mut self);
}Expand description
Objects that internally track a flag indicating whether they’ve been modified
Required Methods§
Sourcefn has_modified_flag(&self) -> bool
fn has_modified_flag(&self) -> bool
Whether the object has been modified
Sourcefn set_modified_flag(&mut self)
fn set_modified_flag(&mut self)
Mark object as modified
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".