Struct rust_embed_for_web_utils::EmbeddedFile 
source · [−]pub struct EmbeddedFile {
    pub data: &'static [u8],
    pub data_gzip: Option<&'static [u8]>,
    pub metadata: Metadata,
}Expand description
A file embedded into the binary
Fields
data: &'static [u8]data_gzip: Option<&'static [u8]>metadata: MetadataAuto Trait Implementations
impl RefUnwindSafe for EmbeddedFile
impl Send for EmbeddedFile
impl Sync for EmbeddedFile
impl Unpin for EmbeddedFile
impl UnwindSafe for EmbeddedFile
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
    T: ?Sized,
 
impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more