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§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 Forget for PropertyKind
impl Freeze for PropertyKindwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<ListItem>: Freeze,
PhantomData<FrameRateOption>: Freeze,
PhantomData<FrameRateRange>: Freeze,
PhantomData<PropertyMetadata>: Freeze,
impl Move for PropertyKind
impl RefUnwindSafe for PropertyKind
impl Send for PropertyKindwhere
RawVecInner: Send,
impl Sync for PropertyKindwhere
RawVecInner: Sync,
impl Unpin for PropertyKind
impl UnsafeUnpin for PropertyKindwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<ListItem>: UnsafeUnpin,
PhantomData<FrameRateOption>: UnsafeUnpin,
PhantomData<FrameRateRange>: UnsafeUnpin,
PhantomData<PropertyMetadata>: UnsafeUnpin,
impl UnwindSafe for PropertyKindwhere
RawVecInner: UnwindSafe,
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