Type Alias obs_property_modified_t

Source
pub type obs_property_modified_t = Option<unsafe extern "C" fn(props: *mut obs_properties_t, property: *mut obs_property_t, settings: *mut obs_data_t) -> bool>;
Expand description

Optional callback for when a property is modified. If the properties need to be refreshed due to changes to the property layout, return true, otherwise return false.

Aliased Type§

enum obs_property_modified_t {
    None,
    Some(unsafe extern "C" fn(_: *mut obs_properties, _: *mut obs_property, _: *mut obs_data) -> bool),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *mut obs_properties, _: *mut obs_property, _: *mut obs_data) -> bool)

Some value of type T.