Struct gstreamer::query::Segment [−][src]
pub struct Segment<T>(_);
Implementations
impl<T: AsPtr> Segment<T>[src]
impl<T: AsPtr> Segment<T>[src]pub fn result(&self) -> (f64, GenericFormattedValue, GenericFormattedValue)[src]
pub fn format(&self) -> Format[src]
impl<T: AsMutPtr> Segment<T>[src]
impl<T: AsMutPtr> Segment<T>[src]pub fn set<V: Into<GenericFormattedValue>>(
&mut self,
rate: f64,
start: V,
stop: V
)[src]
&mut self,
rate: f64,
start: V,
stop: V
)
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
Auto Trait Implementations
impl<T> RefUnwindSafe for Segment<T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<T> Send for Segment<T> where
T: Send,
T: Send,
impl<T> Sync for Segment<T> where
T: Sync,
T: Sync,
impl<T> Unpin for Segment<T> where
T: Unpin,
T: Unpin,
impl<T> UnwindSafe for Segment<T> where
T: UnwindSafe,
T: UnwindSafe,