pub struct HayroBackend;Expand description
The pure-Rust renderer: hayro 0.8 with its standard 14 fonts and predefined CMaps built in.
Added in 0.2.0.
Implementations§
Source§impl HayroBackend
impl HayroBackend
Trait Implementations§
Source§impl Clone for HayroBackend
impl Clone for HayroBackend
impl Copy for HayroBackend
Source§impl Debug for HayroBackend
impl Debug for HayroBackend
Source§impl Default for HayroBackend
impl Default for HayroBackend
Source§impl RenderBackend for HayroBackend
impl RenderBackend for HayroBackend
Source§fn version(&self) -> &'static str
fn version(&self) -> &'static str
The engine’s version (a crate version or a PDFium build tag). Read more
Source§fn open(
&self,
source: Arc<dyn ByteSource>,
options: &RenderOpenOptions,
) -> Result<Box<dyn RenderDocument>, RenderError>
fn open( &self, source: Arc<dyn ByteSource>, options: &RenderOpenOptions, ) -> Result<Box<dyn RenderDocument>, RenderError>
Opens a document from
source (the same source Lamina PDF reads, never a second copy). Read moreAuto Trait Implementations§
impl Forget for HayroBackend
impl Freeze for HayroBackend
impl Move for HayroBackend
impl RefUnwindSafe for HayroBackend
impl Send for HayroBackend
impl Sync for HayroBackend
impl Unpin for HayroBackend
impl UnsafeUnpin for HayroBackend
impl UnwindSafe for HayroBackend
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