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
sourceimpl Clone for AttrsOwned
impl Clone for AttrsOwned
sourcefn clone(&self) -> AttrsOwned
fn clone(&self) -> AttrsOwned
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for AttrsOwned
impl Debug for AttrsOwned
sourceimpl Hash for AttrsOwned
impl Hash for AttrsOwned
sourceimpl PartialEq<AttrsOwned> for AttrsOwned
impl PartialEq<AttrsOwned> for AttrsOwned
sourcefn eq(&self, other: &AttrsOwned) -> bool
fn eq(&self, other: &AttrsOwned) -> bool
impl Eq for AttrsOwned
impl StructuralEq 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more