IntoPrimitive

Trait IntoPrimitive 

Source
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§

Source

fn into_primitive(self) -> Option<T>

Tries to convert self into a primitive value T.

Implementors§