pub struct RenderOptions {
pub whole_strip_code: bool,
pub page: bool,
pub progression: Progression,
}Fields§
§whole_strip_code: boolLay the entire input out under the code rule set, ignore the mode
markers, and put vertext-code on the root.
page: boolPut vertext-page on the root. The stylesheet keys full-page vertical
flow (native writing-mode on the surrounding page) off this class.
progression: ProgressionWhich way columns advance. A property of the document’s script, and the one thing an engine must never hardcode: every renderer that fixes this to right-to-left has decided permanently which literatures it can carry. Declared by the author, because it cannot be inferred — a Chinese document teaching Mongolian and a Mongolian document teaching Chinese contain the same scripts and want opposite answers.
Trait Implementations§
Source§impl Clone for RenderOptions
impl Clone for RenderOptions
Source§fn clone(&self) -> RenderOptions
fn clone(&self) -> RenderOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RenderOptions
Source§impl Debug for RenderOptions
impl Debug for RenderOptions
Auto Trait Implementations§
impl Freeze for RenderOptions
impl RefUnwindSafe for RenderOptions
impl Send for RenderOptions
impl Sync for RenderOptions
impl Unpin for RenderOptions
impl UnsafeUnpin for RenderOptions
impl UnwindSafe for RenderOptions
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