pub enum Content {
Raw(Vec<u8>),
Baked(BTreeMap<&'static str, Vec<u8>>),
}Expand description
What goes into a pack at one path.
Variants§
Raw(Vec<u8>)
The file’s own bytes.
Baked(BTreeMap<&'static str, Vec<u8>>)
The assets read from the file: each kind’s name and its binary form (postcard).
Trait Implementations§
impl Eq for Content
impl StructuralPartialEq for Content
Auto Trait Implementations§
impl Freeze for Content
impl RefUnwindSafe for Content
impl Send for Content
impl Sync for Content
impl Unpin for Content
impl UnsafeUnpin for Content
impl UnwindSafe for Content
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