Struct floem_cosmic_text::AttrsOwned
source · pub struct AttrsOwned {
pub color: Color,
pub family_owned: Vec<FamilyOwned>,
pub monospaced: bool,
pub stretch: Stretch,
pub style: Style,
pub weight: Weight,
pub metadata: usize,
pub font_size: f32,
pub line_height: LineHeightValue,
}
Expand description
An owned version of Attrs
Fields§
§color: Color
§family_owned: Vec<FamilyOwned>
§monospaced: bool
§stretch: Stretch
§style: Style
§weight: Weight
§metadata: usize
§font_size: f32
§line_height: LineHeightValue
Implementations§
Trait Implementations§
source§impl Clone for AttrsOwned
impl Clone for AttrsOwned
source§fn clone(&self) -> AttrsOwned
fn clone(&self) -> AttrsOwned
Returns a copy 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 AttrsOwned
impl Debug for AttrsOwned
source§impl PartialEq for AttrsOwned
impl PartialEq for AttrsOwned
impl Eq for AttrsOwned
Auto Trait Implementations§
impl Freeze for AttrsOwned
impl RefUnwindSafe for AttrsOwned
impl Send for AttrsOwned
impl Sync for AttrsOwned
impl Unpin for AttrsOwned
impl UnwindSafe for AttrsOwned
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