pub struct RenderOpenOptions { /* private fields */ }Expand description
How a backend opens a document.
Added in 0.2.0.
Implementations§
Source§impl RenderOpenOptions
impl RenderOpenOptions
Sourcepub fn with_password(self, password: &str) -> Self
pub fn with_password(self, password: &str) -> Self
The password for an encrypted document. The backend uses it in open and keeps no
copy (ADR 0004 §1): a shell that must reopen the document keeps it itself.
Added in 0.2.0.
Sourcepub const fn with_limits(self, limits: RenderLimits) -> Self
pub const fn with_limits(self, limits: RenderLimits) -> Self
Render limits for this document.
Added in 0.2.0.
Sourcepub const fn limits(&self) -> &RenderLimits
pub const fn limits(&self) -> &RenderLimits
The render limits.
Added in 0.2.0.
Trait Implementations§
Source§impl Clone for RenderOpenOptions
impl Clone for RenderOpenOptions
Source§impl Debug for RenderOpenOptions
impl Debug for RenderOpenOptions
Auto Trait Implementations§
impl Forget for RenderOpenOptions
impl Freeze for RenderOpenOptions
impl Move for RenderOpenOptions
impl RefUnwindSafe for RenderOpenOptions
impl Send for RenderOpenOptionswhere
RawVecInner: Send,
impl Sync for RenderOpenOptionswhere
RawVecInner: Sync,
impl Unpin for RenderOpenOptions
impl UnsafeUnpin for RenderOpenOptions
impl UnwindSafe for RenderOpenOptionswhere
RawVecInner: UnwindSafe,
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