Trait tauri::Assets
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 methodsget(&self, key: &AssetKey) -> Option<Cow<'_, [u8]>>#
fnGet the content of the passed [AssetKey
].