pub trait ResourceFile {
// Required methods
fn data(&self) -> &'static [u8] ⓘ;
fn modified(&self) -> u64;
fn mime_type(&self) -> &str;
}
Expand description
Resource file with static data and metadata.
pub trait ResourceFile {
// Required methods
fn data(&self) -> &'static [u8] ⓘ;
fn modified(&self) -> u64;
fn mime_type(&self) -> &str;
}
Resource file with static data and metadata.