Trait embedded_graphics::primitives::Primitive
source · [−]pub trait Primitive: Dimensions {
fn into_styled<C>(
self,
style: PrimitiveStyle<C>
) -> Styled<Self, PrimitiveStyle<C>>
where
C: PixelColor,
Self: Sized,
{ ... }
}
Expand description
Primitive trait
Provided methods
fn into_styled<C>(
self,
style: PrimitiveStyle<C>
) -> Styled<Self, PrimitiveStyle<C>> where
C: PixelColor,
Self: Sized,
fn into_styled<C>(
self,
style: PrimitiveStyle<C>
) -> Styled<Self, PrimitiveStyle<C>> where
C: PixelColor,
Self: Sized,
Converts this primitive into a Styled
.