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,
}
Fields§
§color_opt: Option<Color>
§family_owned: FamilyOwned
§monospaced: bool
§stretch: Stretch
§style: Style
§weight: Weight
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 more