pub enum Files {
Embedded(&'static [(&'static str, &'static [u8])]),
Folder(PathBuf),
Owned(BTreeMap<String, Vec<u8>>),
}Expand description
A bundle’s files, each by its path in the bundle, its parts joined by /.
Variants§
Embedded(&'static [(&'static str, &'static [u8])])
Embedded in a binary (include_bytes!), sorted by path.
Folder(PathBuf)
In a folder.
Owned(BTreeMap<String, Vec<u8>>)
In memory, as a test makes them.
Implementations§
Trait Implementations§
impl Eq for Files
impl StructuralPartialEq for Files
Auto Trait Implementations§
impl Forget for Files
impl Freeze for Files
impl Move for Files
impl RefUnwindSafe for Files
impl Send for Files
impl Sync for Files
impl Unpin for Files
impl UnsafeUnpin for Files
impl UnwindSafe for Files
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more