pub struct TextOutline {
pub color: Rgba,
pub width: f32,
}Expand description
A band around the glyphs, drawn behind them.
Fields§
§color: RgbaBand color.
width: f32Band width as a fraction of the font size, in (0, 0.5].
Trait Implementations§
Source§impl Clone for TextOutline
impl Clone for TextOutline
impl Copy for TextOutline
Source§impl Debug for TextOutline
impl Debug for TextOutline
Source§impl<'de> Deserialize<'de> for TextOutline
impl<'de> Deserialize<'de> for TextOutline
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for TextOutline
impl PartialEq for TextOutline
Source§impl Serialize for TextOutline
impl Serialize for TextOutline
impl StructuralPartialEq for TextOutline
Auto Trait Implementations§
impl Freeze for TextOutline
impl RefUnwindSafe for TextOutline
impl Send for TextOutline
impl Sync for TextOutline
impl Unpin for TextOutline
impl UnsafeUnpin for TextOutline
impl UnwindSafe for TextOutline
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