Struct floem_cosmic_text::FontAttrs
source · pub struct FontAttrs {
pub family: Vec<FamilyOwned>,
pub monospaced: bool,
pub stretch: Stretch,
pub style: Style,
pub weight: Weight,
}
Expand description
Font attributes
Fields§
§family: Vec<FamilyOwned>
§monospaced: bool
§stretch: Stretch
§style: Style
§weight: Weight
Trait Implementations§
source§impl PartialEq for FontAttrs
impl PartialEq for FontAttrs
impl Eq for FontAttrs
impl StructuralPartialEq for FontAttrs
Auto Trait Implementations§
impl Freeze for FontAttrs
impl RefUnwindSafe for FontAttrs
impl Send for FontAttrs
impl Sync for FontAttrs
impl Unpin for FontAttrs
impl UnwindSafe for FontAttrs
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