Struct gstreamer::query::Scheduling
source · pub struct Scheduling<T = QueryRef>(/* private fields */);
Implementations§
source§impl Scheduling
impl Scheduling
source§impl Scheduling<Query>
impl Scheduling<Query>
pub fn get_mut(&mut self) -> Option<&mut Scheduling>
source§impl Scheduling
impl Scheduling
pub fn has_scheduling_mode(&self, mode: PadMode) -> bool
pub fn has_scheduling_mode_with_flags( &self, mode: PadMode, flags: SchedulingFlags, ) -> bool
pub fn scheduling_modes(&self) -> Vec<PadMode>
pub fn result(&self) -> (SchedulingFlags, i32, i32, i32)
pub fn add_scheduling_modes(&mut self, modes: &[PadMode])
pub fn set( &mut self, flags: SchedulingFlags, minsize: i32, maxsize: i32, align: i32, )
Methods from Deref<Target = QueryRef>§
pub fn as_ptr(&self) -> *const GstQuery
pub fn as_mut_ptr(&self) -> *mut GstQuery
pub fn copy(&self) -> Query
pub fn upcast_ref(&self) -> &MiniObjectRef
pub fn upcast_mut(&mut self) -> &mut MiniObjectRef
pub fn structure(&self) -> Option<&StructureRef>
pub fn structure_mut(&mut self) -> &mut StructureRef
pub fn is_downstream(&self) -> bool
pub fn is_upstream(&self) -> bool
pub fn is_serialized(&self) -> bool
pub fn view(&self) -> QueryView<'_>
pub fn view_mut(&mut self) -> QueryViewMut<'_>
Trait Implementations§
source§impl Borrow<Scheduling> for Scheduling<Query>
impl Borrow<Scheduling> for Scheduling<Query>
source§fn borrow(&self) -> &Scheduling
fn borrow(&self) -> &Scheduling
Immutably borrows from an owned value. Read more
source§impl BorrowMut<Scheduling> for Scheduling<Query>
impl BorrowMut<Scheduling> for Scheduling<Query>
source§fn borrow_mut(&mut self) -> &mut Scheduling
fn borrow_mut(&mut self) -> &mut Scheduling
Mutably borrows from an owned value. Read more
source§impl Debug for Scheduling
impl Debug for Scheduling
source§impl Debug for Scheduling<Query>
impl Debug for Scheduling<Query>
source§impl Default for Scheduling<Query>
impl Default for Scheduling<Query>
source§impl Deref for Scheduling
impl Deref for Scheduling
source§impl Deref for Scheduling<Query>
impl Deref for Scheduling<Query>
source§impl DerefMut for Scheduling
impl DerefMut for Scheduling
source§impl DerefMut for Scheduling<Query>
impl DerefMut for Scheduling<Query>
source§impl From<Scheduling<Query>> for Query
impl From<Scheduling<Query>> for Query
source§fn from(concrete: Scheduling<Query>) -> Self
fn from(concrete: Scheduling<Query>) -> Self
Converts to this type from the input type.
source§impl ToOwned for Scheduling
impl ToOwned for Scheduling
§type Owned = Scheduling<Query>
type Owned = Scheduling<Query>
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 Scheduling<T>where
T: Freeze,
impl<T> RefUnwindSafe for Scheduling<T>where
T: RefUnwindSafe,
impl<T> Send for Scheduling<T>where
T: Send,
impl<T> Sync for Scheduling<T>where
T: Sync,
impl<T> Unpin for Scheduling<T>where
T: Unpin,
impl<T> UnwindSafe for Scheduling<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