pub enum PropertyKind {
Show 15 variants
Invalid,
Bool,
Integer {
min: i32,
max: i32,
step: i32,
suffix: Option<String>,
control: NumberControl,
},
Float {
min: f64,
max: f64,
step: f64,
suffix: Option<String>,
control: NumberControl,
},
Text {
text_type: TextType,
monospace: bool,
info_type: TextInfoType,
word_wrap: bool,
},
Path {
path_type: PathType,
filter: Option<String>,
default_path: Option<String>,
},
List {
list_type: ListType,
format: ListFormat,
items: Vec<ListItem>,
},
Color,
Button {
button_type: ButtonType,
url: Option<String>,
},
Font,
EditableList {
list_type: EditableListType,
filter: Option<String>,
default_path: Option<String>,
},
FrameRate {
options: Vec<FrameRateOption>,
ranges: Vec<FrameRateRange>,
},
Group {
group_type: GroupType,
properties: Vec<PropertyMetadata>,
},
ColorAlpha,
Unknown(i64),
}Variants§
Invalid
Bool
Integer
Float
Text
Path
List
Color
Button
Font
EditableList
FrameRate
Group
ColorAlpha
Unknown(i64)
A property type introduced by a newer libobs than this crate knows about.
Trait Implementations§
Source§impl Clone for PropertyKind
impl Clone for PropertyKind
Source§fn clone(&self) -> PropertyKind
fn clone(&self) -> PropertyKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PropertyKind
impl Debug for PropertyKind
Source§impl PartialEq for PropertyKind
impl PartialEq for PropertyKind
impl StructuralPartialEq for PropertyKind
Auto Trait Implementations§
impl Freeze for PropertyKind
impl RefUnwindSafe for PropertyKind
impl Send for PropertyKind
impl Sync for PropertyKind
impl Unpin for PropertyKind
impl UnsafeUnpin for PropertyKind
impl UnwindSafe for PropertyKind
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