Struct gstreamer::query::Scheduling
source · #[repr(transparent)]pub struct Scheduling<T = QueryRef>(_);
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<QueryRef>> for Scheduling<Query>
impl Borrow<Scheduling<QueryRef>> for Scheduling<Query>
source§fn borrow(&self) -> &Scheduling
fn borrow(&self) -> &Scheduling
Immutably borrows from an owned value. Read more
source§impl BorrowMut<Scheduling<QueryRef>> for Scheduling<Query>
impl BorrowMut<Scheduling<QueryRef>> 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<T: Debug> Debug for Scheduling<T>
impl<T: Debug> Debug for Scheduling<T>
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