pub struct RunEffects {
pub shadow: Option<TextShadow>,
pub glow: Option<(Rgba, f64)>,
}Expand description
A text run’s shadow and glow, colours resolved.
Fields§
§shadow: Option<TextShadow>§glow: Option<(Rgba, f64)>Glow colour (with its alpha) and radius in points.
Trait Implementations§
Source§impl Clone for RunEffects
impl Clone for RunEffects
impl Copy for RunEffects
Source§impl Debug for RunEffects
impl Debug for RunEffects
Source§impl PartialEq for RunEffects
impl PartialEq for RunEffects
impl StructuralPartialEq for RunEffects
Auto Trait Implementations§
impl Freeze for RunEffects
impl RefUnwindSafe for RunEffects
impl Send for RunEffects
impl Sync for RunEffects
impl Unpin for RunEffects
impl UnsafeUnpin for RunEffects
impl UnwindSafe for RunEffects
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