Trait gstreamer_base::prelude::GstObjectExt [−][src]
pub trait GstObjectExt {
fn default_error<'a, P>(&self, error: &Error, debug: P)
where
P: Into<Option<&'a str>>;
fn get_control_rate(&self) -> ClockTime;
fn get_name(&self) -> String;
fn get_parent(&self) -> Option<Object>;
fn get_path_string(&self) -> String;
fn has_active_control_bindings(&self) -> bool;
fn has_ancestor<P>(&self, ancestor: &P) -> bool
where
P: IsA<Object>;
fn has_as_ancestor<P>(&self, ancestor: &P) -> bool
where
P: IsA<Object>;
fn has_as_parent<P>(&self, parent: &P) -> bool
where
P: IsA<Object>;
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: ClockTime);
fn set_name(&self, name: &str) -> Result<(), BoolError>;
fn set_parent<P>(&self, parent: &P) -> Result<(), BoolError>
where
P: IsA<Object>;
fn suggest_next_sync(&self) -> ClockTime;
fn sync_values(&self, timestamp: ClockTime) -> Result<(), BoolError>;
fn unparent(&self);
fn connect_property_name_notify<F>(&self, f: F) -> SignalHandlerId
where
F: 'static + Send + Sync + Fn(&Self);
fn connect_property_parent_notify<F>(&self, f: F) -> SignalHandlerId
where
F: 'static + Send + Sync + Fn(&Self);
}Required Methods
fn default_error<'a, P>(&self, error: &Error, debug: P) where
P: Into<Option<&'a str>>,
P: Into<Option<&'a str>>,
fn get_control_rate(&self) -> ClockTime
fn get_name(&self) -> String
fn get_parent(&self) -> Option<Object>
fn get_path_string(&self) -> String
fn has_active_control_bindings(&self) -> bool
fn has_ancestor<P>(&self, ancestor: &P) -> bool where
P: IsA<Object>,
P: IsA<Object>,
fn has_as_ancestor<P>(&self, ancestor: &P) -> bool where
P: IsA<Object>,
P: IsA<Object>,
fn has_as_parent<P>(&self, parent: &P) -> bool where
P: IsA<Object>,
P: IsA<Object>,
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: ClockTime)
fn set_name(&self, name: &str) -> Result<(), BoolError>
fn set_parent<P>(&self, parent: &P) -> Result<(), BoolError> where
P: IsA<Object>,
P: IsA<Object>,
fn suggest_next_sync(&self) -> ClockTime
fn sync_values(&self, timestamp: ClockTime) -> Result<(), BoolError>
fn unparent(&self)
fn connect_property_name_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Send + Sync + Fn(&Self),
F: 'static + Send + Sync + Fn(&Self),
fn connect_property_parent_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Send + Sync + Fn(&Self),
F: 'static + Send + Sync + Fn(&Self),