[]Struct gstreamer_editing_services::Timeline

pub struct Timeline(_, _);

Timeline is the central object for any multimedia timeline.

Contains a list of Layer which users should use to arrange the various clips through time.

The output type is determined by the Track that are set on the Timeline.

To save/load a timeline, you can use the TimelineExt::load_from_uri and TimelineExt::save_to_uri methods to use the default format. If you wish

Note that any change you make in the timeline will not actually be taken into account until you call the TimelineExt::commit method.

Implements

TimelineExt, gst::ElementExt, gst::ObjectExt, glib::object::ObjectExt, ExtractableExt

Methods

impl Timeline[src]

pub fn new() -> Timeline[src]

Creates a new empty Timeline.

Returns

The new timeline.

pub fn new_audio_video() -> Timeline[src]

Creates a new Timeline containing a raw audio and a raw video track.

Returns

The newly created Timeline.

pub fn new_from_uri(uri: &str) -> Result<Option<Timeline>, Error>[src]

Creates a timeline from the given URI.

uri

the URI to load from

Returns

A new timeline if the uri was loaded successfully, or None if the uri could not be loaded.

Trait Implementations

impl Clone for Timeline

impl Debug for Timeline

impl Default for Timeline[src]

impl Eq for Timeline

impl Hash for Timeline

impl IsA<Element> for Timeline

impl IsA<Extractable> for Timeline

impl IsA<Object> for Timeline

impl Ord for Timeline

impl<T: ObjectType> PartialEq<T> for Timeline

impl<T: ObjectType> PartialOrd<T> for Timeline

impl StaticType for Timeline

Auto Trait Implementations

impl RefUnwindSafe for Timeline

impl !Send for Timeline

impl !Sync for Timeline

impl Unpin for Timeline

impl UnwindSafe for Timeline

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<Super, Sub> CanDowncast<Sub> for Super where
    Sub: IsA<Super>,
    Super: IsA<Super>, 
[src]

impl<T> Cast for T where
    T: ObjectType
[src]

impl<O> ElementExt for O where
    O: IsA<Element>, 
[src]

impl<O> ElementExtManual for O where
    O: IsA<Element>, 
[src]

impl<T> From<T> for T[src]

impl<O> GObjectExtManualGst for O where
    O: IsA<Object>, 
[src]

impl<O> GstObjectExt for O where
    O: IsA<Object>, 
[src]

impl<O> GstObjectExtManual for O where
    O: IsA<Object>, 
[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ObjectExt for T where
    T: ObjectType
[src]

impl<'a, T> ToGlibContainerFromSlice<'a, *const GList> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 
[src]

impl<'a, T> ToGlibContainerFromSlice<'a, *const GPtrArray> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 
[src]

impl<'a, T> ToGlibContainerFromSlice<'a, *mut GArray> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 
[src]

impl<'a, T> ToGlibContainerFromSlice<'a, *mut GList> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 
[src]

impl<'a, T> ToGlibContainerFromSlice<'a, *mut GPtrArray> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToValue for T where
    T: SetValue + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.