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§
Source§impl ObsProp for FontProp
impl ObsProp for FontProp
Source§unsafe 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. Read moreAuto Trait Implementations§
impl Freeze for FontProp
impl RefUnwindSafe for FontProp
impl Send for FontProp
impl Sync for FontProp
impl Unpin for FontProp
impl UnwindSafe for FontProp
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more