pub struct Seek<T = EventRef>(/* private fields */);
Implementations§
source§impl Seek<Event>
impl Seek<Event>
pub fn new<V: FormattedValue>( rate: f64, flags: SeekFlags, start_type: SeekType, start: V, stop_type: SeekType, stop: impl CompatibleFormattedValue<V> ) -> Event
pub fn builder<'a, V: FormattedValue>( rate: f64, flags: SeekFlags, start_type: SeekType, start: V, stop_type: SeekType, stop: impl CompatibleFormattedValue<V> ) -> SeekBuilder<'a>
source§impl Seek
impl Seek
pub fn get( &self ) -> (f64, SeekFlags, SeekType, GenericFormattedValue, SeekType, GenericFormattedValue)
pub fn trickmode_interval(&self) -> Option<ClockTime>
Available on crate feature
v1_16
only.Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for Seek<T>where
T: Freeze,
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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more