Skip to main content

RedrawingApi

Trait RedrawingApi 

Source
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<(), ()>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl RedrawingApi for Result<(), ()>

Implementors§