Trait zng_ext_image::render_retain

source ·
pub trait render_retain: WidgetExt {
    type MetaType;

    // Provided methods
    fn render_retain(&mut self, retain: impl IntoVar<bool>) { ... }
    fn unset_render_retain(&mut self) { ... }
}

Required Associated Types§

Provided Methods§

source

fn render_retain(&mut self, retain: impl IntoVar<bool>)

P If the render task is kept alive after a frame is produced, this is false by default meaning the image only renders once, if set to true the image will automatically update when the render widget requests a new frame.

This property sets and binds retain to IMAGE_RENDER.retain.

source

fn unset_render_retain(&mut self)

Unset the property.

Object Safety§

This trait is not object safe.

Implementors§