Struct flo_canvas::FontProperties [−][src]
Expand description
The properties to use when selecting a font face
Fields
style: FontStyleweight: u32Implementations
Returns an updated font properties object with a new weight
Returns an updated font properties object with a new style
Trait Implementations
Encodes this item by appending it to the specified string Read more
Returns the “default value” for a type. Read more
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for FontProperties
impl Send for FontProperties
impl Sync for FontProperties
impl Unpin for FontProperties
impl UnwindSafe for FontProperties
Blanket Implementations
Mutably borrows from an owned value. Read more