[−][src]Struct gstreamer_check::TestClock
Implementations
impl TestClock
[src]
pub fn new() -> TestClock
[src]
pub fn with_start_time(start_time: ClockTime) -> TestClock
[src]
pub fn advance_time(&self, delta: ClockTimeDiff)
[src]
pub fn crank(&self) -> bool
[src]
pub fn get_next_entry_time(&self) -> ClockTime
[src]
pub fn peek_id_count(&self) -> u32
[src]
pub fn set_time(&self, new_time: ClockTime)
[src]
pub fn wait_for_pending_id_count(&self, count: u32)
[src]
pub fn get_property_clock_type(&self) -> ClockType
[src]
pub fn set_property_clock_type(&self, clock_type: ClockType)
[src]
pub fn get_property_start_time(&self) -> u64
[src]
pub fn connect_property_clock_type_notify<F: Fn(&TestClock) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
impl TestClock
[src]
pub fn has_id(&self, id: &ClockId) -> bool
[src]
pub fn peek_next_pending_id(&self) -> Option<ClockId>
[src]
pub fn process_id(&self, pending_id: &ClockId) -> bool
[src]
pub fn process_id_list(&self, pending_list: &[&ClockId]) -> u32
[src]
pub fn process_next_clock_id(&self) -> Option<ClockId>
[src]
pub fn wait_for_multiple_pending_ids(&self, count: u32) -> Vec<ClockId>
[src]
pub fn wait_for_next_pending_id(&self) -> ClockId
[src]
pub fn timed_wait_for_multiple_pending_ids(
&self,
count: u32,
timeout_ms: u32
) -> (bool, Vec<ClockId>)
[src]
&self,
count: u32,
timeout_ms: u32
) -> (bool, Vec<ClockId>)
Trait Implementations
impl Clone for TestClock
[src]
impl Debug for TestClock
[src]
impl Default for TestClock
[src]
impl Eq for TestClock
[src]
impl Hash for TestClock
[src]
pub fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl IsA<Clock> for TestClock
[src]
impl IsA<Object> for TestClock
[src]
impl Ord for TestClock
[src]
pub fn cmp(&self, other: &TestClock) -> Ordering
[src]
#[must_use]pub fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]
impl<T: ObjectType> PartialEq<T> for TestClock
[src]
impl<T: ObjectType> PartialOrd<T> for TestClock
[src]
pub fn partial_cmp(&self, other: &T) -> Option<Ordering>
[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl Send for TestClock
[src]
impl StaticType for TestClock
[src]
pub fn static_type() -> Type
[src]
impl Sync for TestClock
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<Super, Sub> CanDowncast<Sub> for Super where
Sub: IsA<Super>,
Super: IsA<Super>,
[src]
Sub: IsA<Super>,
Super: IsA<Super>,
impl<T> Cast for T where
T: ObjectType,
[src]
T: ObjectType,
pub fn upcast<T>(self) -> T where
Self: IsA<T>,
T: ObjectType,
[src]
Self: IsA<T>,
T: ObjectType,
pub fn upcast_ref<T>(&self) -> &T where
Self: IsA<T>,
T: ObjectType,
[src]
Self: IsA<T>,
T: ObjectType,
pub fn downcast<T>(self) -> Result<T, Self> where
Self: CanDowncast<T>,
T: ObjectType,
[src]
Self: CanDowncast<T>,
T: ObjectType,
pub fn downcast_ref<T>(&self) -> Option<&T> where
Self: CanDowncast<T>,
T: ObjectType,
[src]
Self: CanDowncast<T>,
T: ObjectType,
pub fn dynamic_cast<T>(self) -> Result<T, Self> where
T: ObjectType,
[src]
T: ObjectType,
pub fn dynamic_cast_ref<T>(&self) -> Option<&T> where
T: ObjectType,
[src]
T: ObjectType,
pub unsafe fn unsafe_cast<T>(self) -> T where
T: ObjectType,
[src]
T: ObjectType,
pub unsafe fn unsafe_cast_ref<T>(&self) -> &T where
T: ObjectType,
[src]
T: ObjectType,
impl<O> ClockExt for O where
O: IsA<Clock>,
[src]
O: IsA<Clock>,
pub fn add_observation(
&self,
slave: ClockTime,
master: ClockTime
) -> Option<f64>
[src]
&self,
slave: ClockTime,
master: ClockTime
) -> Option<f64>
pub fn add_observation_unapplied(
&self,
slave: ClockTime,
master: ClockTime
) -> Option<(f64, ClockTime, ClockTime, ClockTime, ClockTime)>
[src]
&self,
slave: ClockTime,
master: ClockTime
) -> Option<(f64, ClockTime, ClockTime, ClockTime, ClockTime)>
pub fn adjust_unlocked(&self, internal: ClockTime) -> ClockTime
[src]
pub fn get_calibration(&self) -> (ClockTime, ClockTime, ClockTime, ClockTime)
[src]
pub fn get_internal_time(&self) -> ClockTime
[src]
pub fn get_master(&self) -> Option<Clock>
[src]
pub fn get_resolution(&self) -> ClockTime
[src]
pub fn get_time(&self) -> ClockTime
[src]
pub fn get_timeout(&self) -> ClockTime
[src]
pub fn is_synced(&self) -> bool
[src]
pub fn set_calibration(
&self,
internal: ClockTime,
external: ClockTime,
rate_num: ClockTime,
rate_denom: ClockTime
)
[src]
&self,
internal: ClockTime,
external: ClockTime,
rate_num: ClockTime,
rate_denom: ClockTime
)
pub fn set_master<P>(&self, master: Option<&P>) -> Result<(), BoolError> where
P: IsA<Clock>,
[src]
P: IsA<Clock>,
pub fn set_resolution(&self, resolution: ClockTime) -> ClockTime
[src]
pub fn set_synced(&self, synced: bool)
[src]
pub fn set_timeout(&self, timeout: ClockTime)
[src]
pub fn unadjust_unlocked(&self, external: ClockTime) -> ClockTime
[src]
pub fn wait_for_sync(&self, timeout: ClockTime) -> Result<(), BoolError>
[src]
pub fn get_property_window_size(&self) -> i32
[src]
pub fn set_property_window_size(&self, window_size: i32)
[src]
pub fn get_property_window_threshold(&self) -> i32
[src]
pub fn set_property_window_threshold(&self, window_threshold: i32)
[src]
pub fn connect_synced<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Send + Sync + Fn(&O, bool),
[src]
F: 'static + Send + Sync + Fn(&O, bool),
pub fn connect_property_timeout_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Send + Sync + Fn(&O),
[src]
F: 'static + Send + Sync + Fn(&O),
pub fn connect_property_window_size_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Send + Sync + Fn(&O),
[src]
F: 'static + Send + Sync + Fn(&O),
pub fn connect_property_window_threshold_notify<F>(
&self,
f: F
) -> SignalHandlerId where
F: 'static + Send + Sync + Fn(&O),
[src]
&self,
f: F
) -> SignalHandlerId where
F: 'static + Send + Sync + Fn(&O),
impl<O> ClockExtManual for O where
O: IsA<Clock>,
[src]
O: IsA<Clock>,
pub fn new_periodic_id(
&self,
start_time: ClockTime,
interval: ClockTime
) -> Result<ClockId, BoolError>
[src]
&self,
start_time: ClockTime,
interval: ClockTime
) -> Result<ClockId, BoolError>
pub fn periodic_id_reinit(
&self,
id: &ClockId,
start_time: ClockTime,
interval: ClockTime
) -> Result<(), BoolError>
[src]
&self,
id: &ClockId,
start_time: ClockTime,
interval: ClockTime
) -> Result<(), BoolError>
pub fn new_single_shot_id(&self, time: ClockTime) -> Result<ClockId, BoolError>
[src]
pub fn single_shot_id_reinit(
&self,
id: &ClockId,
time: ClockTime
) -> Result<(), BoolError>
[src]
&self,
id: &ClockId,
time: ClockTime
) -> Result<(), BoolError>
pub fn set_clock_flags(&self, flags: ClockFlags)
[src]
pub fn unset_clock_flags(&self, flags: ClockFlags)
[src]
pub fn get_clock_flags(&self) -> ClockFlags
[src]
impl<T> From<T> for T
[src]
impl<O> GObjectExtManualGst for O where
O: IsA<Object>,
[src]
O: IsA<Object>,
pub fn set_property_from_str(&self, name: &str, value: &str)
[src]
impl<O> GstObjectExt for O where
O: IsA<Object>,
[src]
O: IsA<Object>,
pub fn default_error(&self, error: &Error, debug: Option<&str>)
[src]
pub fn get_control_rate(&self) -> ClockTime
[src]
pub fn get_name(&self) -> GString
[src]
pub fn get_parent(&self) -> Option<Object>
[src]
pub fn get_path_string(&self) -> GString
[src]
pub fn has_active_control_bindings(&self) -> bool
[src]
pub fn has_ancestor<P>(&self, ancestor: &P) -> bool where
P: IsA<Object>,
[src]
P: IsA<Object>,
pub fn has_as_ancestor<P>(&self, ancestor: &P) -> bool where
P: IsA<Object>,
[src]
P: IsA<Object>,
pub fn has_as_parent<P>(&self, parent: &P) -> bool where
P: IsA<Object>,
[src]
P: IsA<Object>,
pub fn set_control_binding_disabled(&self, property_name: &str, disabled: bool)
[src]
pub fn set_control_bindings_disabled(&self, disabled: bool)
[src]
pub fn set_control_rate(&self, control_rate: ClockTime)
[src]
pub fn set_parent<P>(&self, parent: &P) -> Result<(), BoolError> where
P: IsA<Object>,
[src]
P: IsA<Object>,
pub fn suggest_next_sync(&self) -> ClockTime
[src]
pub fn sync_values(&self, timestamp: ClockTime) -> Result<(), BoolError>
[src]
pub fn unparent(&self)
[src]
pub fn connect_property_parent_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Send + Sync + Fn(&O),
[src]
F: 'static + Send + Sync + Fn(&O),
impl<O> GstObjectExtManual for O where
O: IsA<Object>,
[src]
O: IsA<Object>,
pub fn connect_deep_notify<F>(
&self,
name: Option<&str>,
f: F
) -> SignalHandlerId where
F: 'static + Send + Sync + Fn(&O, &Object, &ParamSpec),
[src]
&self,
name: Option<&str>,
f: F
) -> SignalHandlerId where
F: 'static + Send + Sync + Fn(&O, &Object, &ParamSpec),
pub fn set_object_flags(&self, flags: ObjectFlags)
[src]
pub fn unset_object_flags(&self, flags: ObjectFlags)
[src]
pub fn get_object_flags(&self) -> ObjectFlags
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ObjectExt for T where
T: ObjectType,
[src]
T: ObjectType,
pub fn is<U>(&self) -> bool where
U: StaticType,
[src]
U: StaticType,
pub fn get_type(&self) -> Type
[src]
pub fn get_object_class(&self) -> &ObjectClass
[src]
pub fn set_properties(
&self,
property_values: &[(&str, &dyn ToValue)]
) -> Result<(), BoolError>
[src]
&self,
property_values: &[(&str, &dyn ToValue)]
) -> Result<(), BoolError>
pub fn set_property<'a, N>(
&self,
property_name: N,
value: &dyn ToValue
) -> Result<(), BoolError> where
N: Into<&'a str>,
[src]
&self,
property_name: N,
value: &dyn ToValue
) -> Result<(), BoolError> where
N: Into<&'a str>,
pub fn get_property<'a, N>(&self, property_name: N) -> Result<Value, BoolError> where
N: Into<&'a str>,
[src]
N: Into<&'a str>,
pub unsafe fn set_qdata<QD>(&self, key: Quark, value: QD) where
QD: 'static,
[src]
QD: 'static,
pub unsafe fn get_qdata<QD>(&self, key: Quark) -> Option<&QD> where
QD: 'static,
[src]
QD: 'static,
pub unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD> where
QD: 'static,
[src]
QD: 'static,
pub unsafe fn set_data<QD>(&self, key: &str, value: QD) where
QD: 'static,
[src]
QD: 'static,
pub unsafe fn get_data<QD>(&self, key: &str) -> Option<&QD> where
QD: 'static,
[src]
QD: 'static,
pub unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD> where
QD: 'static,
[src]
QD: 'static,
pub fn block_signal(&self, handler_id: &SignalHandlerId)
[src]
pub fn unblock_signal(&self, handler_id: &SignalHandlerId)
[src]
pub fn stop_signal_emission(&self, signal_name: &str)
[src]
pub fn disconnect(&self, handler_id: SignalHandlerId)
[src]
pub fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId where
F: 'static + Send + Sync + Fn(&T, &ParamSpec),
[src]
F: 'static + Send + Sync + Fn(&T, &ParamSpec),
pub unsafe fn connect_notify_unsafe<F>(
&self,
name: Option<&str>,
f: F
) -> SignalHandlerId where
F: Fn(&T, &ParamSpec),
[src]
&self,
name: Option<&str>,
f: F
) -> SignalHandlerId where
F: Fn(&T, &ParamSpec),
pub fn notify<'a, N>(&self, property_name: N) where
N: Into<&'a str>,
[src]
N: Into<&'a str>,
pub fn notify_by_pspec(&self, pspec: &ParamSpec)
[src]
pub fn has_property<'a, N>(&self, property_name: N, type_: Option<Type>) -> bool where
N: Into<&'a str>,
[src]
N: Into<&'a str>,
pub fn get_property_type<'a, N>(&self, property_name: N) -> Option<Type> where
N: Into<&'a str>,
[src]
N: Into<&'a str>,
pub fn find_property<'a, N>(&self, property_name: N) -> Option<ParamSpec> where
N: Into<&'a str>,
[src]
N: Into<&'a str>,
pub fn list_properties(&self) -> Vec<ParamSpec, Global>
[src]
pub fn connect<'a, N, F>(
&self,
signal_name: N,
after: bool,
callback: F
) -> Result<SignalHandlerId, BoolError> where
F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,
N: Into<&'a str>,
[src]
&self,
signal_name: N,
after: bool,
callback: F
) -> Result<SignalHandlerId, BoolError> where
F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,
N: Into<&'a str>,
pub fn connect_local<'a, N, F>(
&self,
signal_name: N,
after: bool,
callback: F
) -> Result<SignalHandlerId, BoolError> where
F: Fn(&[Value]) -> Option<Value> + 'static,
N: Into<&'a str>,
[src]
&self,
signal_name: N,
after: bool,
callback: F
) -> Result<SignalHandlerId, BoolError> where
F: Fn(&[Value]) -> Option<Value> + 'static,
N: Into<&'a str>,
pub unsafe fn connect_unsafe<'a, N, F>(
&self,
signal_name: N,
after: bool,
callback: F
) -> Result<SignalHandlerId, BoolError> where
F: Fn(&[Value]) -> Option<Value>,
N: Into<&'a str>,
[src]
&self,
signal_name: N,
after: bool,
callback: F
) -> Result<SignalHandlerId, BoolError> where
F: Fn(&[Value]) -> Option<Value>,
N: Into<&'a str>,
pub fn emit<'a, N>(
&self,
signal_name: N,
args: &[&dyn ToValue]
) -> Result<Option<Value>, BoolError> where
N: Into<&'a str>,
[src]
&self,
signal_name: N,
args: &[&dyn ToValue]
) -> Result<Option<Value>, BoolError> where
N: Into<&'a str>,
pub fn downgrade(&self) -> WeakRef<T>
[src]
pub fn bind_property<'a, O, N, M>(
&'a self,
source_property: N,
target: &'a O,
target_property: M
) -> BindingBuilder<'a> where
M: Into<&'a str>,
N: Into<&'a str>,
O: ObjectType,
[src]
&'a self,
source_property: N,
target: &'a O,
target_property: M
) -> BindingBuilder<'a> where
M: Into<&'a str>,
N: Into<&'a str>,
O: ObjectType,
pub fn ref_count(&self) -> u32
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T> ToSendValue for T where
T: ToValue + SetValue + Send + ?Sized,
[src]
T: ToValue + SetValue + Send + ?Sized,
pub fn to_send_value(&self) -> SendValue
[src]
impl<T> ToValue for T where
T: SetValue + ?Sized,
[src]
T: SetValue + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,