Struct gstreamer::query::Segment [−][src]
pub struct Segment<T>(_);
Methods
impl<'a> Segment<&'a QueryRef>
[src]
impl<'a> Segment<&'a QueryRef>
impl<'a> Segment<&'a mut QueryRef>
[src]
impl<'a> Segment<&'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> Segment<T>
[src]
impl<T: AsPtr> Segment<T>
pub fn get_result(&self) -> (f64, GenericFormattedValue, GenericFormattedValue)
[src]
pub fn get_result(&self) -> (f64, GenericFormattedValue, GenericFormattedValue)
pub fn get_format(&self) -> Format
[src]
pub fn get_format(&self) -> Format
impl<T: AsMutPtr> Segment<T>
[src]
impl<T: AsMutPtr> Segment<T>
pub fn set<V: Into<GenericFormattedValue>>(
&mut self,
rate: f64,
start: V,
stop: V
)
[src]
pub fn set<V: Into<GenericFormattedValue>>(
&mut self,
rate: f64,
start: V,
stop: 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 Segment<T>
[src]
impl<T: Debug> Debug for Segment<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 Segment<&'a QueryRef>
[src]
impl<'a> Deref for Segment<&'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 Segment<&'a mut QueryRef>
[src]
impl<'a> Deref for Segment<&'a mut QueryRef>
type Target = Segment<&'a QueryRef>
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
[src]
fn deref(&self) -> &Self::Target
Dereferences the value.
impl Deref for Segment<Query>
[src]
impl Deref for Segment<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 Segment<Query>
[src]
impl DerefMut for Segment<Query>
impl From<Segment<Query>> for Query
[src]
impl From<Segment<Query>> for Query