pub struct ResolvedRunStyle {Show 17 fields
pub font_size: Option<f64>,
pub bold: bool,
pub italic: bool,
pub all_caps: bool,
pub small_caps: bool,
pub language: Option<String>,
pub highlight: Option<Color>,
pub underline: bool,
pub strike: bool,
pub spacing: Option<f64>,
pub baseline: Option<f64>,
pub fill: Option<Paint>,
pub latin_typeface: Option<String>,
pub east_asian_typeface: Option<String>,
pub complex_script_typeface: Option<String>,
pub symbol_typeface: Option<String>,
pub hyperlink_url: Option<String>,
}Expand description
Concrete renderer-visible properties of one text run.
Fields§
§font_size: Option<f64>§bold: bool§italic: bool§all_caps: bool§small_caps: bool§language: Option<String>The producing run language used for selected-face shaping.
highlight: Option<Color>§underline: bool§strike: bool§spacing: Option<f64>§baseline: Option<f64>§fill: Option<Paint>§latin_typeface: Option<String>§east_asian_typeface: Option<String>§complex_script_typeface: Option<String>§symbol_typeface: Option<String>§hyperlink_url: Option<String>Direct external URI resolved in the run’s producing relationship scope.
Trait Implementations§
Source§impl Clone for ResolvedRunStyle
impl Clone for ResolvedRunStyle
Source§impl Debug for ResolvedRunStyle
impl Debug for ResolvedRunStyle
Source§impl Default for ResolvedRunStyle
impl Default for ResolvedRunStyle
Source§impl PartialEq for ResolvedRunStyle
impl PartialEq for ResolvedRunStyle
impl StructuralPartialEq for ResolvedRunStyle
Auto Trait Implementations§
impl Freeze for ResolvedRunStyle
impl RefUnwindSafe for ResolvedRunStyle
impl Send for ResolvedRunStyle
impl Sync for ResolvedRunStyle
impl Unpin for ResolvedRunStyle
impl UnsafeUnpin for ResolvedRunStyle
impl UnwindSafe for ResolvedRunStyle
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