gstreamer::prelude

Trait 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§

Source

fn add_control_binding( &self, binding: &impl IsA<ControlBinding>, ) -> Result<(), BoolError>

Source

fn default_error(&self, error: &Error, debug: Option<&str>)

Source

fn control_binding(&self, property_name: &str) -> Option<ControlBinding>

Source

fn control_rate(&self) -> Option<ClockTime>

Source

fn name(&self) -> GString

Source

fn parent(&self) -> Option<Object>

Source

fn path_string(&self) -> GString

Source

fn value( &self, property_name: &str, timestamp: impl Into<Option<ClockTime>>, ) -> Option<Value>

Source

fn has_active_control_bindings(&self) -> bool

Source

fn has_ancestor(&self, ancestor: &impl IsA<Object>) -> bool

Source

fn has_as_ancestor(&self, ancestor: &impl IsA<Object>) -> bool

Source

fn has_as_parent(&self, parent: &impl IsA<Object>) -> bool

Source

fn remove_control_binding(&self, binding: &impl IsA<ControlBinding>) -> bool

Source

fn set_control_binding_disabled(&self, property_name: &str, disabled: bool)

Source

fn set_control_bindings_disabled(&self, disabled: bool)

Source

fn set_control_rate(&self, control_rate: impl Into<Option<ClockTime>>)

Source

fn set_parent(&self, parent: &impl IsA<Object>) -> Result<(), BoolError>

Source

fn suggest_next_sync(&self) -> Option<ClockTime>

Source

fn sync_values(&self, timestamp: ClockTime) -> Result<(), BoolError>

Source

fn unparent(&self)

Source

fn connect_parent_notify<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F, ) -> SignalHandlerId

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.

Implementors§