Struct gstreamer::FormattedSegment
source · [−]#[repr(transparent)]pub struct FormattedSegment<T: FormattedValueIntrinsic>(_, _);
Implementations
pub fn downcast_mut<T: FormattedValueIntrinsic>(
&mut self
) -> Option<&mut FormattedSegment<T>>
pub fn clip<V: Into<T::FormattedValueType>>(
&self,
start: V,
stop: V
) -> Option<(T::FormattedValueType, T::FormattedValueType)>
pub fn do_seek<V: Into<T::FormattedValueType>>(
&mut self,
rate: f64,
flags: SeekFlags,
start_type: SeekType,
start: V,
stop_type: SeekType,
stop: V
) -> Option<bool>
pub fn position_from_running_time<V: Into<T::FormattedValueType>>(
&self,
running_time: V
) -> T::FormattedValueType
pub fn position_from_running_time_full<V: Into<T::FormattedValueType>>(
&self,
running_time: V
) -> (i32, T::FormattedValueType)
pub fn position_from_stream_time<V: Into<T::FormattedValueType>>(
&self,
stream_time: V
) -> T::FormattedValueType
pub fn position_from_stream_time_full<V: Into<T::FormattedValueType>>(
&self,
stream_time: V
) -> (i32, T::FormattedValueType)
pub fn set_running_time<V: Into<T::FormattedValueType>>(
&mut self,
running_time: V
) -> Result<(), BoolError>
pub fn to_running_time<V: Into<T::FormattedValueType>>(
&self,
position: V
) -> T::FormattedValueType
pub fn to_running_time_full<V: Into<T::FormattedValueType>>(
&self,
position: V
) -> (i32, T::FormattedValueType)
pub fn to_stream_time<V: Into<T::FormattedValueType>>(
&self,
position: V
) -> T::FormattedValueType
pub fn to_stream_time_full<V: Into<T::FormattedValueType>>(
&self,
position: V
) -> (i32, T::FormattedValueType)
Trait Implementations
impl<T: FormattedValueIntrinsic> AsRef<FormattedSegment<GenericFormattedValue>> for FormattedSegment<T>
impl<T: FormattedValueIntrinsic> AsRef<FormattedSegment<GenericFormattedValue>> for FormattedSegment<T>
Deserialize this value from the given Serde deserializer. Read more
Returns the type identifier of Self
.
Auto Trait Implementations
impl<T> RefUnwindSafe for FormattedSegment<T> where
T: RefUnwindSafe,
impl<T> Unpin for FormattedSegment<T> where
T: Unpin,
impl<T> UnwindSafe for FormattedSegment<T> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Returns a SendValue
clone of self
.