pub trait Primitive: Dimensions {
// Provided method
fn into_styled<S>(self, style: S) -> Styled<Self, S>
where Self: Sized { ... }
}Expand description
Primitive trait
Provided Methods§
Sourcefn 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.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".