embedded_graphics::primitives

Trait Primitive

Source
pub trait Primitive: Dimensions {
    // Provided method
    fn into_styled<C>(
        self,
        style: PrimitiveStyle<C>,
    ) -> Styled<Self, PrimitiveStyle<C>>
       where C: PixelColor,
             Self: Sized { ... }
}
Expand description

Primitive trait

Provided Methods§

Source

fn into_styled<C>( self, style: PrimitiveStyle<C>, ) -> Styled<Self, PrimitiveStyle<C>>
where C: PixelColor, Self: Sized,

Converts this primitive into a Styled.

Implementors§