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

EffectAsset, TrackElementAsset, UriSourceAsset

Provided Methods§

source

fn natural_framerate(&self) -> Option<(i32, i32)>

Result: true if self has a natural framerate false otherwise

§Returns
§framerate_n

The framerate numerator

§framerate_d

The framerate denominator

source

fn track_type(&self) -> TrackType

Get the GESAssetTrackType the TrackElement extracted from self_ should get into

§Returns

a TrackType

source

fn set_track_type(&self, type_: TrackType)

Set the TrackType the TrackElement extracted from self_ should get into

§type_

A TrackType

source

fn connect_track_type_notify<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F, ) -> SignalHandlerId

Object Safety§

This trait is not object safe.

Implementors§