pub struct HtmlOptions {
pub caption: Option<String>,
pub document: bool,
pub lang: Option<String>,
pub style: bool,
}Expand description
How to_html writes.
Fields§
§caption: Option<String>A heading above the table, written as its <caption>.
document: boolWhether to write a whole document with a <style> for the page and for
print, rather than the <table> alone. A fragment is for putting into a
page that has its own styling.
lang: Option<String>The language of a whole document, such as en or de.
style: boolWhether a fragment brings the PRINT_CSS rules along in a <style>
of its own, for a page that has none for it. A whole document always
does.
Trait Implementations§
Source§impl Clone for HtmlOptions
impl Clone for HtmlOptions
Source§impl Debug for HtmlOptions
impl Debug for HtmlOptions
Source§impl Default for HtmlOptions
impl Default for HtmlOptions
impl Eq for HtmlOptions
Source§impl PartialEq for HtmlOptions
impl PartialEq for HtmlOptions
impl StructuralPartialEq for HtmlOptions
Auto Trait Implementations§
impl Freeze for HtmlOptions
impl RefUnwindSafe for HtmlOptions
impl Send for HtmlOptions
impl Sync for HtmlOptions
impl Unpin for HtmlOptions
impl UnsafeUnpin for HtmlOptions
impl UnwindSafe for HtmlOptions
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