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,
pub metrics_opt: Option<CacheMetrics>,
}
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
§metrics_opt: Option<CacheMetrics>
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
impl Eq for AttrsOwned
impl StructuralPartialEq 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.