pub struct FontProp;
Expand description

Adds a font selection property.

A font is an obs_data sub-object which contains the following items:

  • face: face name string
  • style: style name string
  • size: size integer
  • flags: font flags integer (OBS_FONT_* defined above)

Trait Implementations

Callback to add this property to a obs_properties_t. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.