Struct cosmic_text::AttrsOwned
source · pub struct AttrsOwned {
pub color_opt: Option<Color>,
pub family_owned: FamilyOwned,
pub stretch: Stretch,
pub style: Style,
pub weight: Weight,
pub metadata: usize,
pub cache_key_flags: CacheKeyFlags,
}
Expand description
An owned version of Attrs
Fields§
§color_opt: Option<Color>
§family_owned: FamilyOwned
§stretch: Stretch
§style: Style
§weight: Weight
§metadata: usize
§cache_key_flags: CacheKeyFlags
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 Hash for AttrsOwned
impl Hash for AttrsOwned
source§impl PartialEq for AttrsOwned
impl PartialEq 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 ==
.impl Eq for AttrsOwned
impl StructuralPartialEq for AttrsOwned
Auto Trait Implementations§
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