pub enum Brush {
Solid(u32),
Gradient(CanvasGradient),
}
Variants§
Solid(u32)
Gradient(CanvasGradient)
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Brush
impl !Send for Brush
impl !Sync for Brush
impl Unpin for Brush
impl UnwindSafe for Brush
Blanket Implementations§
source§impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
source§fn round_into(self) -> U
fn round_into(self) -> U
Performs the conversion.