Struct gstreamer::query::Buffering [−][src]
pub struct Buffering<T>(_);
Methods
impl<'a> Buffering<&'a QueryRef>
[src]
impl<'a> Buffering<&'a QueryRef>
impl<'a> Buffering<&'a mut QueryRef>
[src]
impl<'a> Buffering<&'a mut QueryRef>
pub fn get_mut_query(&mut self) -> &mut QueryRef
[src]
pub fn get_mut_query(&mut self) -> &mut QueryRef
impl<T: AsPtr> Buffering<T>
[src]
impl<T: AsPtr> Buffering<T>
pub fn get_format(&self) -> Format
[src]
pub fn get_format(&self) -> Format
pub fn get_percent(&self) -> (bool, i32)
[src]
pub fn get_percent(&self) -> (bool, i32)
pub fn get_range(&self) -> (GenericFormattedValue, GenericFormattedValue, i64)
[src]
pub fn get_range(&self) -> (GenericFormattedValue, GenericFormattedValue, i64)
pub fn get_stats(&self) -> (BufferingMode, i32, i32, i64)
[src]
pub fn get_stats(&self) -> (BufferingMode, i32, i32, i64)
pub fn get_ranges(&self) -> Vec<(GenericFormattedValue, GenericFormattedValue)>
[src]
pub fn get_ranges(&self) -> Vec<(GenericFormattedValue, GenericFormattedValue)>
impl<T: AsMutPtr> Buffering<T>
[src]
impl<T: AsMutPtr> Buffering<T>
pub fn set_percent(&mut self, busy: bool, percent: i32)
[src]
pub fn set_percent(&mut self, busy: bool, percent: i32)
pub fn set_range<V: Into<GenericFormattedValue>>(
&mut self,
start: V,
stop: V,
estimated_total: i64
)
[src]
pub fn set_range<V: Into<GenericFormattedValue>>(
&mut self,
start: V,
stop: V,
estimated_total: i64
)
pub fn set_stats(
&mut self,
mode: BufferingMode,
avg_in: i32,
avg_out: i32,
buffering_left: i64
)
[src]
pub fn set_stats(
&mut self,
mode: BufferingMode,
avg_in: i32,
avg_out: i32,
buffering_left: i64
)
pub fn add_buffering_ranges<V: Into<GenericFormattedValue> + Copy>(
&mut self,
ranges: &[(V, V)]
)
[src]
pub fn add_buffering_ranges<V: Into<GenericFormattedValue> + Copy>(
&mut self,
ranges: &[(V, V)]
)
Methods from Deref<Target = QueryRef>
pub fn get_structure(&self) -> Option<&StructureRef>
[src]
pub fn get_structure(&self) -> Option<&StructureRef>
pub fn get_mut_structure(&mut self) -> &mut StructureRef
[src]
pub fn get_mut_structure(&mut self) -> &mut StructureRef
pub fn is_downstream(&self) -> bool
[src]
pub fn is_downstream(&self) -> bool
pub fn is_upstream(&self) -> bool
[src]
pub fn is_upstream(&self) -> bool
pub fn is_serialized(&self) -> bool
[src]
pub fn is_serialized(&self) -> bool
pub fn view(&self) -> QueryView<&Self>
[src]
pub fn view(&self) -> QueryView<&Self>
pub fn view_mut(&mut self) -> QueryView<&mut Self>
[src]
pub fn view_mut(&mut self) -> QueryView<&mut Self>
Trait Implementations
impl<T: Debug> Debug for Buffering<T>
[src]
impl<T: Debug> Debug for Buffering<T>
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<'a> Deref for Buffering<&'a QueryRef>
[src]
impl<'a> Deref for Buffering<&'a QueryRef>
type Target = QueryRef
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
[src]
fn deref(&self) -> &Self::Target
Dereferences the value.
impl<'a> Deref for Buffering<&'a mut QueryRef>
[src]
impl<'a> Deref for Buffering<&'a mut QueryRef>
type Target = Buffering<&'a QueryRef>
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
[src]
fn deref(&self) -> &Self::Target
Dereferences the value.
impl Deref for Buffering<Query>
[src]
impl Deref for Buffering<Query>
type Target = QueryRef
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
[src]
fn deref(&self) -> &Self::Target
Dereferences the value.
impl DerefMut for Buffering<Query>
[src]
impl DerefMut for Buffering<Query>
impl From<Buffering<Query>> for Query
[src]
impl From<Buffering<Query>> for Query