#[repr(C, packed(1))]pub struct OBFilterConfigSchemaItem {
pub name: *const c_char,
pub type_: OBFilterConfigValueType,
pub min: f64,
pub max: f64,
pub step: f64,
pub def: f64,
pub desc: *const c_char,
}Expand description
@brief Configuration Item for the filter
Fields§
§name: *const c_char< Name of the configuration item
type_: OBFilterConfigValueType< Value type of the configuration item
min: f64< Minimum value casted to double
max: f64< Maximum value casted to double
step: f64< Step value casted to double
def: f64< Default value casted to double
desc: *const c_char< Description of the configuration item
Trait Implementations§
Source§impl Clone for OBFilterConfigSchemaItem
impl Clone for OBFilterConfigSchemaItem
Source§fn clone(&self) -> OBFilterConfigSchemaItem
fn clone(&self) -> OBFilterConfigSchemaItem
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 moreimpl Copy for OBFilterConfigSchemaItem
Auto Trait Implementations§
impl !Send for OBFilterConfigSchemaItem
impl !Sync for OBFilterConfigSchemaItem
impl Freeze for OBFilterConfigSchemaItem
impl RefUnwindSafe for OBFilterConfigSchemaItem
impl Unpin for OBFilterConfigSchemaItem
impl UnsafeUnpin for OBFilterConfigSchemaItem
impl UnwindSafe for OBFilterConfigSchemaItem
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