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§

Provided Methods§

source

fn no() -> Result<(), ()>

source

fn yes() -> Result<(), ()>

Implementations on Foreign Types§

source§

impl RedrawingApi for Result<(), ()>

Implementors§