Type Definition gstreamer::Segment[][src]

type Segment = FormattedSegment<GenericFormattedValue>;

Implementations

impl Segment[src]

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

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

pub fn downcast<T: FormattedValue>(self) -> Result<FormattedSegment<T>, Self>[src]

pub fn downcast_ref<T: FormattedValue>(&self) -> Option<&FormattedSegment<T>>[src]

pub fn downcast_mut<T: FormattedValue>(
    &mut self
) -> Option<&mut FormattedSegment<T>>
[src]

Trait Implementations

impl<'de> Deserialize<'de> for Segment[src]

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

Deserialize this value from the given Serde deserializer. Read more

impl ValueType for Segment[src]

type Type = Self

Type to get the Type from. Read more