pub trait IntoPrimitive<T> {
// Required method
fn into_primitive(self) -> Option<T>;
}Expand description
A trait that provides a method that translates StyleProperty into a specific primitive value.
Required Methods§
Sourcefn into_primitive(self) -> Option<T>
fn into_primitive(self) -> Option<T>
Tries to convert self into a primitive value T.