Struct gstreamer::FormattedSegment [−][src]
#[repr(transparent)]pub struct FormattedSegment<T: FormattedValueIntrinsic>(_, _);
Implementations
pub fn downcast_mut<T: FormattedValueIntrinsic>(
&mut self
) -> Option<&mut FormattedSegment<T>>
[src]pub fn clip<V: Into<T::FormattedValueType>>(
&self,
start: V,
stop: V
) -> Option<(T::FormattedValueType, T::FormattedValueType)>
[src]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>
[src]pub fn position_from_running_time<V: Into<T::FormattedValueType>>(
&self,
running_time: V
) -> T::FormattedValueType
[src]pub fn position_from_running_time_full<V: Into<T::FormattedValueType>>(
&self,
running_time: V
) -> (i32, T::FormattedValueType)
[src]pub fn position_from_stream_time<V: Into<T::FormattedValueType>>(
&self,
stream_time: V
) -> T::FormattedValueType
[src]pub fn position_from_stream_time_full<V: Into<T::FormattedValueType>>(
&self,
stream_time: V
) -> (i32, T::FormattedValueType)
[src]pub fn set_running_time<V: Into<T::FormattedValueType>>(
&mut self,
running_time: V
) -> Result<(), BoolError>
[src]pub fn to_running_time<V: Into<T::FormattedValueType>>(
&self,
position: V
) -> T::FormattedValueType
[src]pub fn to_running_time_full<V: Into<T::FormattedValueType>>(
&self,
position: V
) -> (i32, T::FormattedValueType)
[src]pub fn to_stream_time<V: Into<T::FormattedValueType>>(
&self,
position: V
) -> T::FormattedValueType
[src]pub fn to_stream_time_full<V: Into<T::FormattedValueType>>(
&self,
position: V
) -> (i32, T::FormattedValueType)
[src]Trait Implementations
impl<T: FormattedValueIntrinsic> AsRef<FormattedSegment<GenericFormattedValue>> for FormattedSegment<T>
[src]
impl<T: FormattedValueIntrinsic> AsRef<FormattedSegment<GenericFormattedValue>> for FormattedSegment<T>
[src]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
.
impl<'a, T, C> FromValueOptional<'a> for T where
C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError>,
T: FromValue<'a, Checker = C>,
[src]