Struct gstreamer::query::Scheduling[][src]

pub struct Scheduling<T>(_);

Implementations

impl<'a> Scheduling<&'a QueryRef>[src]

pub fn query(&self) -> &QueryRef[src]

impl<'a> Scheduling<&'a mut QueryRef>[src]

pub fn query_mut(&mut self) -> &mut QueryRef[src]

impl Scheduling<Query>[src]

pub fn new() -> Self[src]

impl<T: AsPtr> Scheduling<T>[src]

pub fn has_scheduling_mode(&self, mode: PadMode) -> bool[src]

pub fn has_scheduling_mode_with_flags(
    &self,
    mode: PadMode,
    flags: SchedulingFlags
) -> bool
[src]

pub fn scheduling_modes(&self) -> Vec<PadMode>[src]

pub fn result(&self) -> (SchedulingFlags, i32, i32, i32)[src]

impl<T: AsMutPtr> Scheduling<T>[src]

pub fn add_scheduling_modes(&mut self, modes: &[PadMode])[src]

pub fn set(
    &mut self,
    flags: SchedulingFlags,
    minsize: i32,
    maxsize: i32,
    align: i32
)
[src]

Methods from Deref<Target = QueryRef>

pub unsafe fn as_ptr(&self) -> *const GstQuery[src]

pub unsafe fn as_mut_ptr(&self) -> *mut GstQuery[src]

pub fn copy(&self) -> Query[src]

pub fn structure(&self) -> Option<&StructureRef>[src]

pub fn structure_mut(&mut self) -> &mut StructureRef[src]

pub fn is_downstream(&self) -> bool[src]

pub fn is_upstream(&self) -> bool[src]

pub fn is_serialized(&self) -> bool[src]

pub fn view(&self) -> QueryView<&Self>[src]

pub fn view_mut(&mut self) -> QueryView<&mut Self>[src]

Trait Implementations

impl<T: Debug> Debug for Scheduling<T>[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

impl Default for Scheduling<Query>[src]

fn default() -> Self[src]

Returns the “default value” for a type. Read more

impl<'a> Deref for Scheduling<&'a QueryRef>[src]

type Target = QueryRef

The resulting type after dereferencing.

fn deref(&self) -> &Self::Target[src]

Dereferences the value.

impl<'a> Deref for Scheduling<&'a mut QueryRef>[src]

type Target = Scheduling<&'a QueryRef>

The resulting type after dereferencing.

fn deref(&self) -> &Self::Target[src]

Dereferences the value.

impl Deref for Scheduling<Query>[src]

type Target = QueryRef

The resulting type after dereferencing.

fn deref(&self) -> &Self::Target[src]

Dereferences the value.

impl DerefMut for Scheduling<Query>[src]

fn deref_mut(&mut self) -> &mut Self::Target[src]

Mutably dereferences the value.

impl From<Scheduling<Query>> for Query[src]

fn from(concrete: Scheduling<Query>) -> Self[src]

Performs the conversion.

Auto Trait Implementations

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.