Struct cosmic_text::AttrsOwned
source · pub struct AttrsOwned {
pub color_opt: Option<Color>,
pub family_owned: FamilyOwned,
pub monospaced: bool,
pub stretch: Stretch,
pub style: Style,
pub weight: Weight,
pub metadata: usize,
}Expand description
An owned version of Attrs
Fields§
§color_opt: Option<Color>§family_owned: FamilyOwned§monospaced: bool§stretch: Stretch§style: Style§weight: Weight§metadata: usizeImplementations§
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 Hash for AttrsOwned
impl Hash for AttrsOwned
source§impl PartialEq<AttrsOwned> for AttrsOwned
impl PartialEq<AttrsOwned> for AttrsOwned
source§fn eq(&self, other: &AttrsOwned) -> bool
fn eq(&self, other: &AttrsOwned) -> bool
This method tests for
self and other values to be equal, and is used
by ==.