oa::ui::TextLayoutConfig

Struct published by the oa::Ui struct.

StRust public API

Declaration

pub struct TextLayoutConfig { pub font: FontId, pub size: f32, pub wrap_width: f32, pub monospace: bool, }
Public Rust declaration.

Public Methods

fn clone(&self) -> TextLayoutConfig
fn fmt(&self, f: &mut Formatter<'_>) -> Result
fn eq(&self, other: &TextLayoutConfig) -> bool

Associated Functions

fn default() -> Self

Public Data Members

fontFontIdfield
sizef32field
wrap_widthf32field
monospaceboolfield

Public Method Documentation

fn clone( &self ) -> TextLayoutConfig
No public source comment is attached to this declaration.
fn fmt( &self, f: &mut Formatter<'_> ) -> Result
No public source comment is attached to this declaration.
fn eq( &self, other: &TextLayoutConfig ) -> bool
No public source comment is attached to this declaration.
fn default() -> Self
No public source comment is attached to this declaration.