Struct gstreamer::SingleShotClockId
source · pub struct SingleShotClockId(ClockId);
Tuple Fields§
§0: ClockId
Implementations§
source§impl SingleShotClockId
impl SingleShotClockId
pub fn compare_by_time(&self, other: &Self) -> Ordering
pub fn wait_async<F>(&self, func: F) -> Result<ClockSuccess, ClockError>
pub fn wait_async_future( &self, ) -> Result<Pin<Box<dyn Future<Output = Result<(Option<ClockTime>, ClockId), ClockError>> + Send + 'static>>, ClockError>
Methods from Deref<Target = ClockId>§
pub fn time(&self) -> ClockTime
pub fn unschedule(&self)
pub fn wait(&self) -> (Result<ClockSuccess, ClockError>, ClockTimeDiff)
pub fn compare_by_time(&self, other: &Self) -> Ordering
pub fn clock(&self) -> Option<Clock>
pub fn uses_clock<P: IsA<Clock>>(&self, clock: &P) -> bool
pub fn type_(&self) -> ClockEntryType
pub fn status(&self) -> &AtomicClockReturn
Trait Implementations§
source§impl Clone for SingleShotClockId
impl Clone for SingleShotClockId
source§fn clone(&self) -> SingleShotClockId
fn clone(&self) -> SingleShotClockId
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SingleShotClockId
impl Debug for SingleShotClockId
source§impl Deref for SingleShotClockId
impl Deref for SingleShotClockId
source§impl From<SingleShotClockId> for ClockId
impl From<SingleShotClockId> for ClockId
source§fn from(id: SingleShotClockId) -> ClockId
fn from(id: SingleShotClockId) -> ClockId
Converts to this type from the input type.
source§impl Hash for SingleShotClockId
impl Hash for SingleShotClockId
source§impl Ord for SingleShotClockId
impl Ord for SingleShotClockId
source§fn cmp(&self, other: &SingleShotClockId) -> Ordering
fn cmp(&self, other: &SingleShotClockId) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for SingleShotClockId
impl PartialEq for SingleShotClockId
source§impl PartialOrd for SingleShotClockId
impl PartialOrd for SingleShotClockId
source§impl TryFrom<ClockId> for SingleShotClockId
impl TryFrom<ClockId> for SingleShotClockId
impl Eq for SingleShotClockId
impl StructuralPartialEq for SingleShotClockId
Auto Trait Implementations§
impl Freeze for SingleShotClockId
impl RefUnwindSafe for SingleShotClockId
impl Send for SingleShotClockId
impl Sync for SingleShotClockId
impl Unpin for SingleShotClockId
impl UnwindSafe for SingleShotClockId
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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