pub struct RendererConfig {
pub font_path: Option<String>,
}Expand description
How to build a renderer.
Fields§
§font_path: Option<String>A font to load for the title.
Accepted and unused: see the module docs. Kept so the field exists
when text arrives. The reference’s try_system_font has no
counterpart here, since there is no font stack to search.
Trait Implementations§
Source§impl Clone for RendererConfig
impl Clone for RendererConfig
Source§impl Debug for RendererConfig
impl Debug 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