Trait gstreamer::prelude::GstObjectExt
source · pub trait GstObjectExt:
IsA<Object>
+ Sealed
+ 'static {
Show 21 methods
// Provided methods
fn add_control_binding(
&self,
binding: &impl IsA<ControlBinding>,
) -> Result<(), BoolError> { ... }
fn default_error(&self, error: &Error, debug: Option<&str>) { ... }
fn control_binding(&self, property_name: &str) -> Option<ControlBinding> { ... }
fn control_rate(&self) -> Option<ClockTime> { ... }
fn name(&self) -> GString { ... }
fn parent(&self) -> Option<Object> { ... }
fn path_string(&self) -> GString { ... }
fn value(
&self,
property_name: &str,
timestamp: impl Into<Option<ClockTime>>,
) -> Option<Value> { ... }
fn has_active_control_bindings(&self) -> bool { ... }
fn has_ancestor(&self, ancestor: &impl IsA<Object>) -> bool { ... }
fn has_as_ancestor(&self, ancestor: &impl IsA<Object>) -> bool { ... }
fn has_as_parent(&self, parent: &impl IsA<Object>) -> bool { ... }
fn remove_control_binding(&self, binding: &impl IsA<ControlBinding>) -> bool { ... }
fn set_control_binding_disabled(&self, property_name: &str, disabled: bool) { ... }
fn set_control_bindings_disabled(&self, disabled: bool) { ... }
fn set_control_rate(&self, control_rate: impl Into<Option<ClockTime>>) { ... }
fn set_parent(&self, parent: &impl IsA<Object>) -> Result<(), BoolError> { ... }
fn suggest_next_sync(&self) -> Option<ClockTime> { ... }
fn sync_values(&self, timestamp: ClockTime) -> Result<(), BoolError> { ... }
fn unparent(&self) { ... }
fn connect_parent_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
}
Provided Methods§
fn add_control_binding( &self, binding: &impl IsA<ControlBinding>, ) -> Result<(), BoolError>
fn default_error(&self, error: &Error, debug: Option<&str>)
fn control_binding(&self, property_name: &str) -> Option<ControlBinding>
fn control_rate(&self) -> Option<ClockTime>
fn name(&self) -> GString
fn parent(&self) -> Option<Object>
fn path_string(&self) -> GString
fn value( &self, property_name: &str, timestamp: impl Into<Option<ClockTime>>, ) -> Option<Value>
fn has_active_control_bindings(&self) -> bool
fn has_ancestor(&self, ancestor: &impl IsA<Object>) -> bool
fn has_as_ancestor(&self, ancestor: &impl IsA<Object>) -> bool
fn has_as_parent(&self, parent: &impl IsA<Object>) -> bool
fn remove_control_binding(&self, binding: &impl IsA<ControlBinding>) -> bool
fn set_control_binding_disabled(&self, property_name: &str, disabled: bool)
fn set_control_bindings_disabled(&self, disabled: bool)
fn set_control_rate(&self, control_rate: impl Into<Option<ClockTime>>)
fn set_parent(&self, parent: &impl IsA<Object>) -> Result<(), BoolError>
fn suggest_next_sync(&self) -> Option<ClockTime>
fn sync_values(&self, timestamp: ClockTime) -> Result<(), BoolError>
fn unparent(&self)
fn connect_parent_notify<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F, ) -> SignalHandlerId
Object Safety§
This trait is not object safe.