pub struct RenderEngineOptions {
pub prep: RenderPrepOptions,
pub layout: LayoutConfig,
}Expand description
Render-engine options.
Fields§
§prep: RenderPrepOptionsPrep options passed to RenderPrep.
layout: LayoutConfigLayout options used to produce pages.
Implementations§
Source§impl RenderEngineOptions
impl RenderEngineOptions
Sourcepub fn for_display(width: i32, height: i32) -> Self
pub fn for_display(width: i32, height: i32) -> Self
Build options for a target display size.
Trait Implementations§
Source§impl Clone for RenderEngineOptions
impl Clone for RenderEngineOptions
Source§fn clone(&self) -> RenderEngineOptions
fn clone(&self) -> RenderEngineOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RenderEngineOptions
impl Debug for RenderEngineOptions
Source§impl Default for RenderEngineOptions
impl Default for RenderEngineOptions
Source§fn default() -> RenderEngineOptions
fn default() -> RenderEngineOptions
Returns the “default value” for a type. Read more
Source§impl PartialEq for RenderEngineOptions
impl PartialEq for RenderEngineOptions
impl Copy for RenderEngineOptions
impl StructuralPartialEq for RenderEngineOptions
Auto Trait Implementations§
impl Freeze for RenderEngineOptions
impl RefUnwindSafe for RenderEngineOptions
impl Send for RenderEngineOptions
impl Sync for RenderEngineOptions
impl Unpin for RenderEngineOptions
impl UnsafeUnpin for RenderEngineOptions
impl UnwindSafe for RenderEngineOptions
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