pub type Segment = FormattedSegment<GenericFormattedValue>;
Aliased Type§
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