pub struct RendererConfig {
pub frame: Size,
pub storage: Size,
pub margins: Margins,
pub use_margins: bool,
pub pixel_aspect: f64,
pub font_scale: f64,
pub line_spacing: f64,
pub line_position: f64,
pub hinting: Hinting,
pub shaping: ShapingLevel,
}Fields§
§frame: Size§storage: Size§margins: Margins§use_margins: bool§pixel_aspect: f64§font_scale: f64§line_spacing: f64§line_position: f64§hinting: Hinting§shaping: ShapingLevelTrait Implementations§
Source§impl Clone for RendererConfig
impl Clone for RendererConfig
Source§fn clone(&self) -> RendererConfig
fn clone(&self) -> RendererConfig
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 moreSource§impl Debug for RendererConfig
impl Debug for RendererConfig
Source§impl Default for RendererConfig
impl Default for RendererConfig
Source§fn default() -> RendererConfig
fn default() -> RendererConfig
Returns the “default value” for a type. Read more
Source§impl PartialEq for RendererConfig
impl PartialEq for RendererConfig
Source§fn eq(&self, other: &RendererConfig) -> bool
fn eq(&self, other: &RendererConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RendererConfig
Auto Trait Implementations§
impl Freeze for RendererConfig
impl RefUnwindSafe for RendererConfig
impl Send for RendererConfig
impl Sync for RendererConfig
impl Unpin for RendererConfig
impl UnsafeUnpin for RendererConfig
impl UnwindSafe for RendererConfig
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