Struct gstreamer::query::Duration [−][src]
pub struct Duration<T>(_);
Methods
impl<'a> Duration<&'a QueryRef>[src]
impl<'a> Duration<&'a QueryRef>impl<'a> Duration<&'a mut QueryRef>[src]
impl<'a> Duration<&'a mut QueryRef>pub fn get_mut_query(&mut self) -> &mut QueryRef[src]
pub fn get_mut_query(&mut self) -> &mut QueryRefimpl<T: AsPtr> Duration<T>[src]
impl<T: AsPtr> Duration<T>pub fn get_result(&self) -> GenericFormattedValue[src]
pub fn get_result(&self) -> GenericFormattedValuepub fn get_format(&self) -> Format[src]
pub fn get_format(&self) -> Formatimpl<T: AsMutPtr> Duration<T>[src]
impl<T: AsMutPtr> Duration<T>pub fn set<V: Into<GenericFormattedValue>>(&mut self, dur: V)[src]
pub fn set<V: Into<GenericFormattedValue>>(&mut self, dur: 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 StructureRefpub fn is_downstream(&self) -> bool[src]
pub fn is_downstream(&self) -> boolpub fn is_upstream(&self) -> bool[src]
pub fn is_upstream(&self) -> boolpub fn is_serialized(&self) -> bool[src]
pub fn is_serialized(&self) -> boolpub 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 Duration<T>[src]
impl<T: Debug> Debug for Duration<T>fn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl<'a> Deref for Duration<&'a QueryRef>[src]
impl<'a> Deref for Duration<&'a QueryRef>type Target = QueryRef
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target[src]
fn deref(&self) -> &Self::TargetDereferences the value.
impl<'a> Deref for Duration<&'a mut QueryRef>[src]
impl<'a> Deref for Duration<&'a mut QueryRef>type Target = Duration<&'a QueryRef>
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target[src]
fn deref(&self) -> &Self::TargetDereferences the value.
impl Deref for Duration<Query>[src]
impl Deref for Duration<Query>type Target = QueryRef
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target[src]
fn deref(&self) -> &Self::TargetDereferences the value.
impl DerefMut for Duration<Query>[src]
impl DerefMut for Duration<Query>impl From<Duration<Query>> for Query[src]
impl From<Duration<Query>> for Query