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