pub struct GlyphStyle {
pub boldness: u16,
pub color: Color,
}Expand description
Glyph styling information.
Fields§
§boldness: u16The weight of the glyph.
color: ColorThe color of the glyph.
Trait Implementations§
Source§impl Clone for GlyphStyle
impl Clone for GlyphStyle
Source§fn clone(&self) -> GlyphStyle
fn clone(&self) -> GlyphStyle
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 GlyphStyle
impl Debug for GlyphStyle
Source§impl PartialEq for GlyphStyle
impl PartialEq for GlyphStyle
impl Copy for GlyphStyle
impl StructuralPartialEq for GlyphStyle
Auto Trait Implementations§
impl Freeze for GlyphStyle
impl RefUnwindSafe for GlyphStyle
impl Send for GlyphStyle
impl Sync for GlyphStyle
impl Unpin for GlyphStyle
impl UnwindSafe for GlyphStyle
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