pub struct Seek<T>(_);
Implementations
sourceimpl Seek<Event>
impl Seek<Event>
pub fn new<V: Into<GenericFormattedValue>>(
rate: f64,
flags: SeekFlags,
start_type: SeekType,
start: V,
stop_type: SeekType,
stop: V
) -> Event
pub fn builder<'a, V: Into<GenericFormattedValue>>(
rate: f64,
flags: SeekFlags,
start_type: SeekType,
start: V,
stop_type: SeekType,
stop: V
) -> SeekBuilder<'a>
sourceimpl<T: AsPtr> Seek<T>
impl<T: AsPtr> Seek<T>
pub fn get(
&self
) -> (f64, SeekFlags, SeekType, GenericFormattedValue, SeekType, GenericFormattedValue)
pub fn trickmode_interval(&self) -> Option<ClockTime>
This is supported on crate feature
v1_16
only.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
Auto Trait Implementations
impl<T> RefUnwindSafe for Seek<T> where
T: RefUnwindSafe,
impl<T> Send for Seek<T> where
T: Send,
impl<T> Sync for Seek<T> where
T: Sync,
impl<T> Unpin for Seek<T> where
T: Unpin,
impl<T> UnwindSafe for Seek<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