pub type Segment = FormattedSegment<GenericFormattedValue>;
Implementations§
source§impl Segment
impl Segment
pub unsafe fn from_ptr<'a>(ptr: *const GstSegment) -> &'a Segment
pub fn reset_with_format(&mut self, format: Format)
pub fn set_format(&mut self, format: Format)
pub fn downcast<T: FormattedValueIntrinsic>(
self
) -> Result<FormattedSegment<T>, Self>
pub fn downcast_ref<T: FormattedValueIntrinsic>(
&self
) -> Option<&FormattedSegment<T>>
pub fn downcast_mut<T: FormattedValueIntrinsic>(
&mut self
) -> Option<&mut FormattedSegment<T>>
Trait Implementations§
source§impl<'de> Deserialize<'de> for Segment
impl<'de> Deserialize<'de> for Segment
source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
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
impl ValueType for Segment
§type Type = FormattedSegment<GenericFormattedValue>
type Type = FormattedSegment<GenericFormattedValue>
Type to get the
Type
from. Read more