Struct gstreamer::event::InstantRateSyncTime
source · [−]pub struct InstantRateSyncTime<T>(_);
Implementations
sourceimpl InstantRateSyncTime<Event>
impl InstantRateSyncTime<Event>
pub fn new(
rate_multiplier: f64,
running_time: ClockTime,
upstream_running_time: ClockTime
) -> Event
This is supported on crate feature
v1_18
only.pub fn builder<'a>(
rate_multiplier: f64,
running_time: ClockTime,
upstream_running_time: ClockTime
) -> InstantRateSyncTimeBuilder<'a>
This is supported on crate feature
v1_18
only.sourceimpl<T: AsPtr> InstantRateSyncTime<T>
impl<T: AsPtr> InstantRateSyncTime<T>
Methods from Deref<Target = EventRef>
pub unsafe fn as_ptr(&self) -> *const GstEvent
pub unsafe fn as_mut_ptr(&self) -> *mut GstEvent
pub fn copy(&self) -> Event
pub fn upcast_ref(&self) -> &MiniObjectRef
pub fn seqnum(&self) -> Seqnum
pub fn running_time_offset(&self) -> i64
pub fn structure(&self) -> Option<&StructureRef>
pub fn is_upstream(&self) -> bool
pub fn is_downstream(&self) -> bool
pub fn is_serialized(&self) -> bool
pub fn is_sticky(&self) -> bool
pub fn is_sticky_multi(&self) -> bool
pub fn type_(&self) -> EventType
pub fn has_name(&self, name: &str) -> bool
pub fn view(&self) -> EventView<&EventRef>
Trait Implementations
sourceimpl<T: Debug> Debug for InstantRateSyncTime<T>
impl<T: Debug> Debug for InstantRateSyncTime<T>
sourceimpl<'a> Deref for InstantRateSyncTime<&'a EventRef>
impl<'a> Deref for InstantRateSyncTime<&'a EventRef>
sourceimpl Deref for InstantRateSyncTime<Event>
impl Deref for InstantRateSyncTime<Event>
sourceimpl From<InstantRateSyncTime<Event>> for Event
impl From<InstantRateSyncTime<Event>> for Event
sourcefn from(concrete: InstantRateSyncTime<Event>) -> Self
fn from(concrete: InstantRateSyncTime<Event>) -> Self
Performs the conversion.
Auto Trait Implementations
impl<T> RefUnwindSafe for InstantRateSyncTime<T> where
T: RefUnwindSafe,
impl<T> Send for InstantRateSyncTime<T> where
T: Send,
impl<T> Sync for InstantRateSyncTime<T> where
T: Sync,
impl<T> Unpin for InstantRateSyncTime<T> where
T: Unpin,
impl<T> UnwindSafe for InstantRateSyncTime<T> where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more