pub enum TextFill {
Solid([u8; 4]),
Gradient(TextGradient),
}Expand description
What paints a text’s glyphs.
Variants§
Solid([u8; 4])
Straight (not premultiplied) sRGB RGBA.
Gradient(TextGradient)
A gradient over the layout box.
Implementations§
Trait Implementations§
impl StructuralPartialEq for TextFill
Auto Trait Implementations§
impl Forget for TextFill
impl Freeze for TextFill
impl Move for TextFill
impl RefUnwindSafe for TextFill
impl Send for TextFillwhere
RawVecInner: Send,
impl Sync for TextFillwhere
RawVecInner: Sync,
impl Unpin for TextFill
impl UnsafeUnpin for TextFill
impl UnwindSafe for TextFillwhere
RawVecInner: UnwindSafe,
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