pub struct Epub {
pub warnings: Vec<Warning>,
pub bytes: Vec<u8>,
}Expand description
An EPUB as one wire reply, and what writing it warned about.
A display structure carries its warnings, and an EPUB is a file with no room for them, so the two cross together.
Fields§
§warnings: Vec<Warning>What writing it had to complain about, in the shape a display structure’s warnings take.
bytes: Vec<u8>The whole file.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Epub
impl<'de> Deserialize<'de> for Epub
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Epub
Auto Trait Implementations§
impl Freeze for Epub
impl RefUnwindSafe for Epub
impl Send for Epub
impl Sync for Epub
impl Unpin for Epub
impl UnsafeUnpin for Epub
impl UnwindSafe for Epub
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
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
impl<T> ErasedDestructor for Twhere
T: 'static,
§impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
§fn to_owned_obj(&self, data: FontData<'_>) -> U
fn to_owned_obj(&self, data: FontData<'_>) -> U
Convert this type into
T, using the provided data to resolve any offsets.