pub enum ObsProperty {
Show 14 variants
Invalid(String),
Bool,
Int(ObsNumberProperty<i32>),
Float(ObsNumberProperty<f64>),
Text(ObsTextProperty),
Path(ObsPathProperty),
List(ObsListProperty),
Color(ObsColorProperty),
Button(ObsButtonProperty),
Font(ObsFontProperty),
EditableList(ObsEditableListProperty),
FrameRate(ObsFrameRateProperty),
Group(ObsGroupProperty),
ColorAlpha(ObsColorAlphaProperty),
}
Variants§
Invalid(String)
A property that is not valid
Bool
A boolean property
Int(ObsNumberProperty<i32>)
An integer property
Float(ObsNumberProperty<f64>)
A float property
Text(ObsTextProperty)
A text property
Path(ObsPathProperty)
A path property
List(ObsListProperty)
A list property
Color(ObsColorProperty)
A color property
Button(ObsButtonProperty)
A button property
Font(ObsFontProperty)
A font property
EditableList(ObsEditableListProperty)
An editable list property
FrameRate(ObsFrameRateProperty)
A frame rate property
Group(ObsGroupProperty)
A group property
ColorAlpha(ObsColorAlphaProperty)
A color alpha property
Trait Implementations§
Source§impl Clone for ObsProperty
impl Clone for ObsProperty
Source§fn clone(&self) -> ObsProperty
fn clone(&self) -> ObsProperty
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for ObsProperty
impl RefUnwindSafe for ObsProperty
impl Send for ObsProperty
impl Sync for ObsProperty
impl Unpin for ObsProperty
impl UnwindSafe for ObsProperty
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