pub struct Style {
pub line_width: f32,
pub font_id: u32,
pub underline: bool,
pub font_size: f32,
pub line_height: f32,
pub scripts: ScriptSet,
pub languages: LanguageSet,
pub features: FeatureSet,
pub draw_color: Color,
pub fill_color: Color,
pub text_color: Color,
}Fields§
§line_width: f32§font_id: u32§underline: bool§font_size: f32§line_height: f32§scripts: ScriptSet§languages: LanguageSet§features: FeatureSet§draw_color: Color§fill_color: Color§text_color: ColorTrait Implementations§
Auto Trait Implementations§
impl Freeze for Style
impl RefUnwindSafe for Style
impl Send for Style
impl Sync for Style
impl Unpin for Style
impl UnwindSafe for Style
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