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§
Sourcefn 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
.