pub trait TrackElementAssetExt:
IsA<TrackElementAsset>
+ Sealed
+ 'static {
// Provided methods
fn natural_framerate(&self) -> Option<(i32, i32)> { ... }
fn track_type(&self) -> TrackType { ... }
fn set_track_type(&self, type_: TrackType) { ... }
fn connect_track_type_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
}
Expand description
Trait containing all TrackElementAsset
methods.
§Implementors
Provided Methods§
sourcefn natural_framerate(&self) -> Option<(i32, i32)>
fn natural_framerate(&self) -> Option<(i32, i32)>
sourcefn track_type(&self) -> TrackType
fn track_type(&self) -> TrackType
Get the GESAssetTrackType the TrackElement
extracted from self_
should get into
§Returns
sourcefn set_track_type(&self, type_: TrackType)
fn set_track_type(&self, type_: TrackType)
fn connect_track_type_notify<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F, ) -> SignalHandlerId
Object Safety§
This trait is not object safe.