pub struct HeadingStyle {
pub font_scale: f32,
pub color: Color32,
}Expand description
Per-heading-level style: font scale relative to body and colour.
Fields§
§font_scale: f32Multiplier applied to body font size.
color: Color32Text colour for this heading level.
Trait Implementations§
Source§impl Clone for HeadingStyle
impl Clone for HeadingStyle
Source§fn clone(&self) -> HeadingStyle
fn clone(&self) -> HeadingStyle
Returns a duplicate of the value. Read more
1.0.0 · 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 HeadingStyle
impl Debug for HeadingStyle
impl Copy for HeadingStyle
Auto Trait Implementations§
impl Freeze for HeadingStyle
impl RefUnwindSafe for HeadingStyle
impl Send for HeadingStyle
impl Sync for HeadingStyle
impl Unpin for HeadingStyle
impl UnsafeUnpin for HeadingStyle
impl UnwindSafe for HeadingStyle
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