logo
pub trait StyledDrawable<S> {
    type Color: PixelColor;
    type Output;
    fn draw_styled<D>(
        &self,
        style: &S,
        target: &mut D
    ) -> Result<Self::Output, D::Error>
    where
        D: DrawTarget<Color = Self::Color>
; }
Expand description

Styled drawable.

Associated Types

Color type.

Output type.

Required methods

Draws the primitive using the given style.

Implementors