[][src]Trait gstreamer_editing_services::ExtractableExt

pub trait ExtractableExt: 'static {
    fn get_asset(&self) -> Option<Asset>;
fn get_id(&self) -> Option<GString>;
fn set_asset<P: IsA<Asset>>(&self, asset: &P) -> Result<(), BoolError>; }

Trait containing all Extractable methods.

Implementors

BaseEffect, Clip, Container, Effect, Extractable, Group, Layer, TimelineElement, Timeline, TrackElement, UriClip

Required methods

fn get_asset(&self) -> Option<Asset>

Method for getting an asset from a Extractable

Returns

The Asset or None if none has been set

fn get_id(&self) -> Option<GString>

Returns

The id of the associated Asset, free with g_free

fn set_asset<P: IsA<Asset>>(&self, asset: &P) -> Result<(), BoolError>

Method to set the asset which instantiated the specified object

asset

The Asset to set

Returns

true if asset could be set false otherwize

Loading content...

Implementors

impl<O: IsA<Extractable>> ExtractableExt for O[src]

Loading content...