Struct cosmic_text::Attrs
source · pub struct Attrs<'a> {
pub color_opt: Option<Color>,
pub family: Family<'a>,
pub stretch: Stretch,
pub style: Style,
pub weight: Weight,
pub metadata: usize,
}
Expand description
Text attributes
Fields§
§color_opt: Option<Color>
§family: Family<'a>
§stretch: Stretch
§style: Style
§weight: Weight
§metadata: usize
Implementations§
Trait Implementations§
source§impl<'a> PartialEq for Attrs<'a>
impl<'a> PartialEq for Attrs<'a>
impl<'a> Copy for Attrs<'a>
impl<'a> Eq for Attrs<'a>
impl<'a> StructuralEq for Attrs<'a>
impl<'a> StructuralPartialEq for Attrs<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for Attrs<'a>
impl<'a> Send for Attrs<'a>
impl<'a> Sync for Attrs<'a>
impl<'a> Unpin for Attrs<'a>
impl<'a> UnwindSafe for Attrs<'a>
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