pub trait BaseEffectExt: IsA<BaseEffect> + 'static {
// Provided methods
fn is_time_effect(&self) -> bool { ... }
fn register_time_property(&self, child_property_name: &str) -> bool { ... }
}
Expand description
Provided Methods§
Sourcefn is_time_effect(&self) -> bool
fn is_time_effect(&self) -> bool
Sourcefn register_time_property(&self, child_property_name: &str) -> bool
fn register_time_property(&self, child_property_name: &str) -> bool
Register a child property of the effect as a property that, when set,
can change the timing of its input data. The child property should be
specified as in TimelineElementExt::lookup_child()
.
You should also set the corresponding time translation using
ges_base_effect_set_time_translation_funcs()
.
Note that self
must not be part of a clip, nor can it have
has-internal-source
set to true
.
§child_property_name
The name of the child property to register as a time property
§Returns
true
if the child property was found and newly registered.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.