IMAGES_Ext

Trait IMAGES_Ext 

Source
pub trait IMAGES_Ext {
    // Required method
    fn watch(&self, path: impl Into<PathBuf>) -> ImageVar;
}
Expand description

File watcher extensions for IMAGES service.

Required Methods§

Source

fn watch(&self, path: impl Into<PathBuf>) -> ImageVar

Like IMAGES.read with automatic reload when the file at path is modified.

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.

Implementors§