Trait piet_common::IntoBrush[][src]

pub trait IntoBrush<P> where
    P: RenderContext + ?Sized
{ }

A trait for various types that can be used as brushes.

These include backend-independent types such Color and LinearGradient, as well as the types used to represent these on a specific backend.

This is an internal trait that you should not have to implement or think about.

Implementations on Foreign Types

impl<'a> IntoBrush<CairoRenderContext<'a>> for Brush[src]

Loading content...

Implementors

impl<P> IntoBrush<P> for Color where
    P: RenderContext
[src]

impl<P> IntoBrush<P> for FixedGradient where
    P: RenderContext
[src]

impl<P> IntoBrush<P> for PaintBrush where
    P: RenderContext
[src]

impl<P> IntoBrush<P> for LinearGradient where
    P: RenderContext
[src]

impl<P> IntoBrush<P> for RadialGradient where
    P: RenderContext
[src]

Loading content...