Trait tauri::Assets[][src]

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

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

Required methods

Get the content of the passed AssetKey.

Implementors