pub struct Print {
pub enable: bool,
pub page_break: bool,
}
Expand description
Configuration for how to render the print icon, print.html, and print.css.
Fields§
§enable: bool
Whether print support is enabled.
page_break: bool
Insert page breaks between chapters. Default: true
.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Print
impl<'de> Deserialize<'de> for Print
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 Print
Auto Trait Implementations§
impl Freeze for Print
impl RefUnwindSafe for Print
impl Send for Print
impl Sync for Print
impl Unpin for Print
impl UnwindSafe for Print
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