Struct obs_wrapper::properties::FontProp
source · [−]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
sourceimpl ObsProp for FontProp
impl ObsProp for FontProp
sourceunsafe fn add_to_props(
self,
p: *mut obs_properties_t,
name: ObsString,
description: ObsString
)
unsafe fn add_to_props(
self,
p: *mut obs_properties_t,
name: ObsString,
description: ObsString
)
Callback to add this property to a obs_properties_t.
Auto Trait Implementations
impl RefUnwindSafe for FontProp
impl Send for FontProp
impl Sync for FontProp
impl Unpin for FontProp
impl UnwindSafe for FontProp
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more