pub trait render_retain: WidgetExt {
type MetaType;
// Provided methods
fn render_retain(&mut self, retain: impl IntoVar<bool>) { ... }
fn unset_render_retain(&mut self) { ... }
fn render_retain__(&mut self, retain: impl IntoVar<bool>) { ... }
}Required Associated Types§
Provided Methods§
Sourcefn render_retain(&mut self, retain: impl IntoVar<bool>)
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.
Sourcefn unset_render_retain(&mut self)
fn unset_render_retain(&mut self)
Unset the property.
Sourcefn render_retain__(&mut self, retain: impl IntoVar<bool>)
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.
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.