[][src]Struct gstreamer::query::Buffering

pub struct Buffering<T>(_);

Implementations

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

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

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

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

impl Buffering<Query>[src]

pub fn new(fmt: Format) -> Self[src]

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

pub fn get_format(&self) -> Format[src]

pub fn get_percent(&self) -> (bool, i32)[src]

pub fn get_range(&self) -> (GenericFormattedValue, GenericFormattedValue, i64)[src]

pub fn get_stats(&self) -> (BufferingMode, i32, i32, i64)[src]

pub fn get_ranges(&self) -> Vec<(GenericFormattedValue, GenericFormattedValue)>[src]

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

pub fn set_percent(&mut self, busy: bool, percent: i32)[src]

pub fn set_range<V: Into<GenericFormattedValue>>(
    &mut self,
    start: V,
    stop: V,
    estimated_total: i64
)
[src]

pub fn set_stats(
    &mut self,
    mode: BufferingMode,
    avg_in: i32,
    avg_out: i32,
    buffering_left: i64
)
[src]

pub fn add_buffering_ranges<V: Into<GenericFormattedValue> + Copy>(
    &mut self,
    ranges: &[(V, V)]
)
[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 get_structure(&self) -> Option<&StructureRef>[src]

pub fn get_mut_structure(&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 Buffering<T>[src]

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

type Target = QueryRef

The resulting type after dereferencing.

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

type Target = Buffering<&'a QueryRef>

The resulting type after dereferencing.

impl Deref for Buffering<Query>[src]

type Target = QueryRef

The resulting type after dereferencing.

impl DerefMut for Buffering<Query>[src]

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

Auto Trait Implementations

impl<T> RefUnwindSafe for Buffering<T> where
    T: RefUnwindSafe

impl<T> Send for Buffering<T> where
    T: Send

impl<T> Sync for Buffering<T> where
    T: Sync

impl<T> Unpin for Buffering<T> where
    T: Unpin

impl<T> UnwindSafe for Buffering<T> where
    T: UnwindSafe

Blanket Implementations

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

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

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

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

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

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.

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.