pub trait RedrawingApi {
// Required methods
fn is_redrawing(&self) -> bool;
fn is_not_redrawing(&self) -> bool;
fn expect_redraw(&self);
// Provided methods
fn no() -> Result<(), ()> { ... }
fn yes() -> Result<(), ()> { ... }
}
Required Methods§
fn is_redrawing(&self) -> bool
fn is_not_redrawing(&self) -> bool
fn expect_redraw(&self)
Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.