pub struct WorkFiles {
pub cmc: Vec<u8>,
pub pages: Vec<(String, Vec<u8>)>,
}Expand description
The bytes of a new work: the .cmc and its page files (names relative to the .cmc’s folder).
Fields§
§cmc: Vec<u8>The .cmc file.
pages: Vec<(String, Vec<u8>)>Page files: name relative to the .cmc’s folder (“page0001.clip”) and bytes.
Auto Trait Implementations§
impl Freeze for WorkFiles
impl RefUnwindSafe for WorkFiles
impl Send for WorkFiles
impl Sync for WorkFiles
impl Unpin for WorkFiles
impl UnsafeUnpin for WorkFiles
impl UnwindSafe for WorkFiles
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