pub type Segment = FormattedSegment<GenericFormattedValue>;
Aliased Type§
#[repr(transparent)]pub struct Segment {
pub(crate) inner: GstSegment,
pub(crate) phantom: PhantomData<GenericFormattedValue>,
}
Fields§
§inner: GstSegment
§phantom: PhantomData<GenericFormattedValue>
Implementations§
Source§impl Segment
impl 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 ValueType for Segment
impl ValueType for Segment
Source§type Type = FormattedSegment<GenericFormattedValue>
type Type = FormattedSegment<GenericFormattedValue>
Type to get the
Type
from. Read more