Type Alias zng_ext_image::ImageVar

source ·
pub type ImageVar = ReadOnlyArcVar<Img>;
Expand description

Represents an Img tracked by the IMAGES cache.

The variable updates when the image updates.

Aliased Type§

struct ImageVar(/* private fields */);

Trait Implementations§

source§

impl IntoVar<ImageSource> for ImageVar

§

type Var = LocalVar<ImageSource>

Variable type that will wrap the T value. Read more
source§

fn into_var(self) -> Self::Var

Converts the source value into a var.
source§

fn into_boxed_var(self) -> Box<dyn VarBoxed<T>>
where Self: Sized,

Converts into BoxedVar<T>. Read more
source§

impl IntoValue<ImageSource> for ImageVar