Type Definition gstreamer::Segment [−][src]
type Segment = FormattedSegment<GenericFormattedValue>;
Implementations
impl Segment
[src]
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]
&mut self
) -> Option<&mut FormattedSegment<T>>
Trait Implementations
impl<'de> Deserialize<'de> for Segment
[src]
impl<'de> Deserialize<'de> for Segment
[src]fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
[src]
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
[src]Deserialize this value from the given Serde deserializer. Read more