Enum iui::draw::Brush [−][src]
pub enum Brush { Solid(SolidBrush), LinearGradient(LinearGradientBrush), RadialGradient(RadialGradientBrush), Image, }
Used to determine how a given stroke or fill is drawn.
Variants
Solid(SolidBrush)
LinearGradient(LinearGradientBrush)
RadialGradient(RadialGradientBrush)
Image
Methods
impl Brush
[src]
impl Brush
pub fn as_ui_draw_brush_ref(&self, _ctx: &UI) -> BrushRef
[src]
pub fn as_ui_draw_brush_ref(&self, _ctx: &UI) -> BrushRef
Trait Implementations
impl Clone for Brush
[src]
impl Clone for Brush
fn clone(&self) -> Brush
[src]
fn clone(&self) -> Brush
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for Brush
[src]
impl Debug for Brush