Struct gpui2::UnderlineStyleRefinement
source · pub struct UnderlineStyleRefinement {
pub thickness: Option<Pixels>,
pub color: Option<Hsla>,
pub wavy: Option<bool>,
}
Fields§
§thickness: Option<Pixels>
§color: Option<Hsla>
§wavy: Option<bool>
Implementations§
Trait Implementations§
source§impl Clone for UnderlineStyleRefinement
impl Clone for UnderlineStyleRefinement
source§fn clone(&self) -> UnderlineStyleRefinement
fn clone(&self) -> UnderlineStyleRefinement
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 UnderlineStyleRefinementwhere
Option<Pixels>: Clone,
Option<Hsla>: Clone,
Option<bool>: Clone,
impl Debug for UnderlineStyleRefinementwhere Option<Pixels>: Clone, Option<Hsla>: Clone, Option<bool>: Clone,
source§impl Default for UnderlineStyleRefinementwhere
Option<Pixels>: Clone,
Option<Hsla>: Clone,
Option<bool>: Clone,
impl Default for UnderlineStyleRefinementwhere Option<Pixels>: Clone, Option<Hsla>: Clone, Option<bool>: Clone,
source§impl From<UnderlineStyleRefinement> for UnderlineStylewhere
Option<Pixels>: Clone,
Option<Hsla>: Clone,
Option<bool>: Clone,
impl From<UnderlineStyleRefinement> for UnderlineStylewhere Option<Pixels>: Clone, Option<Hsla>: Clone, Option<bool>: Clone,
source§fn from(value: UnderlineStyleRefinement) -> Self
fn from(value: UnderlineStyleRefinement) -> Self
Converts to this type from the input type.
source§impl Refineable for UnderlineStyleRefinementwhere
Option<Pixels>: Clone,
Option<Hsla>: Clone,
Option<bool>: Clone,
impl Refineable for UnderlineStyleRefinementwhere Option<Pixels>: Clone, Option<Hsla>: Clone, Option<bool>: Clone,
type Refinement = UnderlineStyleRefinement
fn refine(&mut self, refinement: &Self::Refinement)
fn refined(self, refinement: Self::Refinement) -> Self
fn from_cascade(cascade: &Cascade<Self>) -> Selfwhere Self: Default + Sized,
Auto Trait Implementations§
impl RefUnwindSafe for UnderlineStyleRefinement
impl Send for UnderlineStyleRefinement
impl Sync for UnderlineStyleRefinement
impl Unpin for UnderlineStyleRefinement
impl UnwindSafe for UnderlineStyleRefinement
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