Struct sndjvu_format::ser::SerializeComponents
source · pub struct SerializeComponents<'wr> { /* private fields */ }
Expand description
Serializer for the components of a multi-page document.
Implementations§
source§impl<'wr> SerializeComponents<'wr>
impl<'wr> SerializeComponents<'wr>
sourcepub fn djvi(&mut self, id: &str) -> Result<SerializeElements<'_, 'wr>, Error>
pub fn djvi(&mut self, id: &str) -> Result<SerializeElements<'_, 'wr>, Error>
Begin serializing a DJVI
component.
sourcepub fn djvu(
&mut self,
id: &str,
width: u16,
height: u16,
dpi: u16,
gamma: u8,
rotation: PageRotation
) -> Result<SerializeElements<'_, 'wr>, Error>
pub fn djvu( &mut self, id: &str, width: u16, height: u16, dpi: u16, gamma: u8, rotation: PageRotation ) -> Result<SerializeElements<'_, 'wr>, Error>
Begin serializing a DJVU
component.
Trait Implementations§
Auto Trait Implementations§
impl<'wr> !RefUnwindSafe for SerializeComponents<'wr>
impl<'wr> !Send for SerializeComponents<'wr>
impl<'wr> !Sync for SerializeComponents<'wr>
impl<'wr> Unpin for SerializeComponents<'wr>
impl<'wr> !UnwindSafe for SerializeComponents<'wr>
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