Trait tauri::Assets[][src]

pub trait Assets: 'static + Send + Sync {
    fn get(&self, key: &AssetKey) -> Option<Cow<'_, [u8]>>;
}
Expand description

Represents a container of file assets that are retrievable during runtime.

Required methods

Get the content of the passed AssetKey.

Implementors