pub struct ScreenshotResult {
pub page_num: u32,
pub width: u32,
pub height: u32,
pub image_buffer: Vec<u8>,
pub image_path: Option<PathBuf>,
}Expand description
Result of rendering a page to an image.
Fields§
§page_num: u32§width: u32§height: u32§image_buffer: Vec<u8>§image_path: Option<PathBuf>Trait Implementations§
Source§impl Clone for ScreenshotResult
impl Clone for ScreenshotResult
Source§fn clone(&self) -> ScreenshotResult
fn clone(&self) -> ScreenshotResult
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ScreenshotResult
impl RefUnwindSafe for ScreenshotResult
impl Send for ScreenshotResult
impl Sync for ScreenshotResult
impl Unpin for ScreenshotResult
impl UnsafeUnpin for ScreenshotResult
impl UnwindSafe for ScreenshotResult
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