pub enum EncodedPaint {
Gradient(EncodedGradient),
Image(EncodedImage),
BlurredRoundedRect(EncodedBlurredRoundedRectangle),
}
Expand description
An encoded paint.
Variants§
Gradient(EncodedGradient)
An encoded gradient.
Image(EncodedImage)
An encoded image.
BlurredRoundedRect(EncodedBlurredRoundedRectangle)
A blurred, rounded rectangle.
Trait Implementations§
Source§impl Debug for EncodedPaint
impl Debug for EncodedPaint
Source§impl From<EncodedBlurredRoundedRectangle> for EncodedPaint
impl From<EncodedBlurredRoundedRectangle> for EncodedPaint
Source§fn from(value: EncodedBlurredRoundedRectangle) -> Self
fn from(value: EncodedBlurredRoundedRectangle) -> Self
Converts to this type from the input type.
Source§impl From<EncodedGradient> for EncodedPaint
impl From<EncodedGradient> for EncodedPaint
Source§fn from(value: EncodedGradient) -> Self
fn from(value: EncodedGradient) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !Freeze for EncodedPaint
impl !RefUnwindSafe for EncodedPaint
impl Send for EncodedPaint
impl !Sync for EncodedPaint
impl Unpin for EncodedPaint
impl UnwindSafe for EncodedPaint
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