Struct gstreamer::FormattedSegment [−][src]
#[repr(C)]pub struct FormattedSegment<T: FormattedValue>(_, _);
Methods
impl<T: FormattedValue> FormattedSegment<T>
[src]
impl<T: FormattedValue> FormattedSegment<T>
pub fn new() -> Self
[src]
pub fn new() -> Self
pub fn upcast(self) -> Segment
[src]
pub fn upcast(self) -> Segment
pub fn upcast_ref(&self) -> &Segment
[src]
pub fn upcast_ref(&self) -> &Segment
pub fn reset(&mut self)
[src]
pub fn reset(&mut self)
pub fn clip<V: Into<T>>(&self, start: V, stop: V) -> Option<(T, T)>
[src]
pub fn clip<V: Into<T>>(&self, start: V, stop: V) -> Option<(T, T)>
pub fn do_seek<V: Into<T>>(
&mut self,
rate: f64,
flags: SeekFlags,
start_type: SeekType,
start: V,
stop_type: SeekType,
stop: V
) -> Option<bool>
[src]
pub fn do_seek<V: Into<T>>(
&mut self,
rate: f64,
flags: SeekFlags,
start_type: SeekType,
start: V,
stop_type: SeekType,
stop: V
) -> Option<bool>
pub fn offset_running_time(&mut self, offset: i64) -> bool
[src]
pub fn offset_running_time(&mut self, offset: i64) -> bool
pub fn position_from_running_time<V: Into<T>>(&self, running_time: V) -> T
[src]
pub fn position_from_running_time<V: Into<T>>(&self, running_time: V) -> T
pub fn position_from_running_time_full<V: Into<T>>(
&self,
running_time: V
) -> (i32, T)
[src]
pub fn position_from_running_time_full<V: Into<T>>(
&self,
running_time: V
) -> (i32, T)
pub fn position_from_stream_time<V: Into<T>>(&self, stream_time: V) -> T
[src]
pub fn position_from_stream_time<V: Into<T>>(&self, stream_time: V) -> T
pub fn position_from_stream_time_full<V: Into<T>>(
&self,
stream_time: V
) -> (i32, T)
[src]
pub fn position_from_stream_time_full<V: Into<T>>(
&self,
stream_time: V
) -> (i32, T)
pub fn set_running_time<V: Into<T>>(&mut self, running_time: V) -> bool
[src]
pub fn set_running_time<V: Into<T>>(&mut self, running_time: V) -> bool
pub fn to_running_time<V: Into<T>>(&self, position: V) -> T
[src]
pub fn to_running_time<V: Into<T>>(&self, position: V) -> T
pub fn to_running_time_full<V: Into<T>>(&self, position: V) -> (i32, T)
[src]
pub fn to_running_time_full<V: Into<T>>(&self, position: V) -> (i32, T)
pub fn to_stream_time<V: Into<T>>(&self, position: V) -> T
[src]
pub fn to_stream_time<V: Into<T>>(&self, position: V) -> T
pub fn to_stream_time_full<V: Into<T>>(&self, position: V) -> (i32, T)
[src]
pub fn to_stream_time_full<V: Into<T>>(&self, position: V) -> (i32, T)
pub fn get_flags(&self) -> SegmentFlags
[src]
pub fn get_flags(&self) -> SegmentFlags
pub fn set_flags(&mut self, flags: SegmentFlags)
[src]
pub fn set_flags(&mut self, flags: SegmentFlags)
pub fn get_rate(&self) -> f64
[src]
pub fn get_rate(&self) -> f64
pub fn set_rate(&mut self, rate: f64)
[src]
pub fn set_rate(&mut self, rate: f64)
pub fn get_applied_rate(&self) -> f64
[src]
pub fn get_applied_rate(&self) -> f64
pub fn set_applied_rate(&mut self, applied_rate: f64)
[src]
pub fn set_applied_rate(&mut self, applied_rate: f64)
pub fn get_format(&self) -> Format
[src]
pub fn get_format(&self) -> Format
pub fn get_base(&self) -> T
[src]
pub fn get_base(&self) -> T
pub fn set_base<V: Into<T>>(&mut self, base: V)
[src]
pub fn set_base<V: Into<T>>(&mut self, base: V)
pub fn get_offset(&self) -> T
[src]
pub fn get_offset(&self) -> T
pub fn set_offset<V: Into<T>>(&mut self, offset: V)
[src]
pub fn set_offset<V: Into<T>>(&mut self, offset: V)
pub fn get_start(&self) -> T
[src]
pub fn get_start(&self) -> T
pub fn set_start<V: Into<T>>(&mut self, start: V)
[src]
pub fn set_start<V: Into<T>>(&mut self, start: V)
pub fn get_stop(&self) -> T
[src]
pub fn get_stop(&self) -> T
pub fn set_stop<V: Into<T>>(&mut self, stop: V)
[src]
pub fn set_stop<V: Into<T>>(&mut self, stop: V)
pub fn get_time(&self) -> T
[src]
pub fn get_time(&self) -> T
pub fn set_time<V: Into<T>>(&mut self, time: V)
[src]
pub fn set_time<V: Into<T>>(&mut self, time: V)
pub fn get_position(&self) -> T
[src]
pub fn get_position(&self) -> T
pub fn set_position<V: Into<T>>(&mut self, position: V)
[src]
pub fn set_position<V: Into<T>>(&mut self, position: V)
pub fn get_duration(&self) -> T
[src]
pub fn get_duration(&self) -> T
pub fn set_duration<V: Into<T>>(&mut self, duration: V)
[src]
pub fn set_duration<V: Into<T>>(&mut self, duration: V)
Trait Implementations
impl<T: FormattedValue> PartialEq for FormattedSegment<T>
[src]
impl<T: FormattedValue> PartialEq for FormattedSegment<T>
fn eq(&self, other: &Self) -> bool
[src]
fn eq(&self, other: &Self) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl<T: FormattedValue> Eq for FormattedSegment<T>
[src]
impl<T: FormattedValue> Eq for FormattedSegment<T>
impl<T: FormattedValue> Send for FormattedSegment<T>
[src]
impl<T: FormattedValue> Send for FormattedSegment<T>
impl<T: FormattedValue> Clone for FormattedSegment<T>
[src]
impl<T: FormattedValue> Clone for FormattedSegment<T>
fn clone(&self) -> Self
[src]
fn clone(&self) -> Self
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl<T: FormattedValue> AsRef<Segment> for FormattedSegment<T>
[src]
impl<T: FormattedValue> AsRef<Segment> for FormattedSegment<T>
impl<T: FormattedValue> Debug for FormattedSegment<T>
[src]
impl<T: FormattedValue> Debug for FormattedSegment<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<T: FormattedValue> Default for FormattedSegment<T>
[src]
impl<T: FormattedValue> Default for FormattedSegment<T>
impl<T: FormattedValue> StaticType for FormattedSegment<T>
[src]
impl<T: FormattedValue> StaticType for FormattedSegment<T>
fn static_type() -> Type
[src]
fn static_type() -> Type
Returns the type identifier of Self
.
Auto Trait Implementations
impl<T> !Sync for FormattedSegment<T>
impl<T> !Sync for FormattedSegment<T>