ResourceFile

Trait ResourceFile 

Source
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.

Required Methods§

Source

fn data(&self) -> &'static [u8]

Source

fn modified(&self) -> u64

Source

fn mime_type(&self) -> &str

Implementations on Foreign Types§

Source§

impl ResourceFile for Resource

Source§

fn data(&self) -> &'static [u8]

Source§

fn modified(&self) -> u64

Source§

fn mime_type(&self) -> &str

Implementors§