Struct gstreamer::event::InstantRateChange
source · pub struct InstantRateChange<T = EventRef>(/* private fields */);
Implementations§
source§impl InstantRateChange<Event>
impl InstantRateChange<Event>
pub fn get_mut(&mut self) -> Option<&mut InstantRateChange>
source§impl InstantRateChange<Event>
impl InstantRateChange<Event>
pub fn new(multiplier: f64, new_flags: SegmentFlags) -> Event
pub fn builder<'a>( multiplier: f64, new_flags: SegmentFlags, ) -> InstantRateChangeBuilder<'a>
source§impl InstantRateChange
impl InstantRateChange
pub fn get(&self) -> (f64, SegmentFlags)
Trait Implementations§
source§impl Borrow<InstantRateChange> for InstantRateChange<Event>
impl Borrow<InstantRateChange> for InstantRateChange<Event>
source§fn borrow(&self) -> &InstantRateChange
fn borrow(&self) -> &InstantRateChange
Immutably borrows from an owned value. Read more
source§impl Debug for InstantRateChange
impl Debug for InstantRateChange
source§impl Debug for InstantRateChange<Event>
impl Debug for InstantRateChange<Event>
source§impl Deref for InstantRateChange
impl Deref for InstantRateChange
source§impl Deref for InstantRateChange<Event>
impl Deref for InstantRateChange<Event>
source§impl From<InstantRateChange<Event>> for Event
impl From<InstantRateChange<Event>> for Event
source§fn from(concrete: InstantRateChange<Event>) -> Self
fn from(concrete: InstantRateChange<Event>) -> Self
Converts to this type from the input type.
source§impl StickyEventType for InstantRateChange
impl StickyEventType for InstantRateChange
source§impl ToOwned for InstantRateChange
impl ToOwned for InstantRateChange
§type Owned = InstantRateChange<Event>
type Owned = InstantRateChange<Event>
The resulting type after obtaining ownership.
source§fn to_owned(&self) -> Self::Owned
fn to_owned(&self) -> Self::Owned
Creates owned data from borrowed data, usually by cloning. Read more
1.63.0 · source§fn clone_into(&self, target: &mut Self::Owned)
fn clone_into(&self, target: &mut Self::Owned)
Uses borrowed data to replace owned data, usually by cloning. Read more
Auto Trait Implementations§
impl<T> Freeze for InstantRateChange<T>where
T: Freeze,
impl<T> RefUnwindSafe for InstantRateChange<T>where
T: RefUnwindSafe,
impl<T> Send for InstantRateChange<T>where
T: Send,
impl<T> Sync for InstantRateChange<T>where
T: Sync,
impl<T> Unpin for InstantRateChange<T>where
T: Unpin,
impl<T> UnwindSafe for InstantRateChange<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