gstreamer

Type Alias Segment

Source
pub type Segment = FormattedSegment<GenericFormattedValue>;

Aliased Type§

struct Segment { /* private fields */ }

Implementations§

Source§

impl Segment

Source

pub fn reset_with_format(&mut self, format: Format)

Source

pub fn set_format(&mut self, format: Format)

Source

pub fn downcast<T: FormattedValueIntrinsic>( self, ) -> Result<FormattedSegment<T>, Self>

Source

pub fn downcast_ref<T: FormattedValueIntrinsic>( &self, ) -> Option<&FormattedSegment<T>>

Source

pub fn downcast_mut<T: FormattedValueIntrinsic>( &mut self, ) -> Option<&mut FormattedSegment<T>>

Trait Implementations§

Source§

impl<'de> Deserialize<'de> for Segment

Source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
Source§

impl ValueType for Segment