[][src]Struct gstreamer_editing_services::TransitionClip

pub struct TransitionClip(_, _);

Creates an object that mixes together the two underlying objects, A and B. The A object is assumed to have a higher prioirity (lower number) than the B object. At the transition in point, only A will be visible, and by the end only B will be visible.

The shape of the video transition depends on the value of the "vtype" property. The default value is "crossfade". For audio, only "crossfade" is supported.

The ID of the ExtractableType is the nickname of the vtype property value. Note that this value can be changed after creation and the GESExtractable.asset value will be updated when needed.

Implements

TransitionClipExt, BaseTransitionClipExt, OperationClipExt, ClipExt, GESContainerExt, TimelineElementExt, glib::object::ObjectExt, ExtractableExt, TimelineElementExtManual

Implementations

impl TransitionClip[src]

pub fn new(vtype: VideoStandardTransitionType) -> Option<TransitionClip>[src]

Creates a new TransitionClip.

vtype

the type of transition to create

Returns

a newly created TransitionClip, or None if something went wrong.

pub fn new_for_nick(nick: &str) -> Option<TransitionClip>[src]

Creates a new TransitionClip for the provided nick.

nick

a string representing the type of transition to create

Returns

The newly created TransitionClip, or None if something went wrong

Trait Implementations

impl Clone for TransitionClip[src]

impl Debug for TransitionClip[src]

impl Eq for TransitionClip[src]

impl Hash for TransitionClip[src]

impl IsA<BaseTransitionClip> for TransitionClip[src]

impl IsA<Clip> for TransitionClip[src]

impl IsA<Container> for TransitionClip[src]

impl IsA<Extractable> for TransitionClip[src]

impl IsA<OperationClip> for TransitionClip[src]

impl IsA<TimelineElement> for TransitionClip[src]

impl Ord for TransitionClip[src]

impl<T: ObjectType> PartialEq<T> for TransitionClip[src]

impl<T: ObjectType> PartialOrd<T> for TransitionClip[src]

impl StaticType for TransitionClip[src]

Auto Trait Implementations

impl RefUnwindSafe for TransitionClip

impl !Send for TransitionClip

impl !Sync for TransitionClip

impl Unpin for TransitionClip

impl UnwindSafe for TransitionClip

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<T> From<T> for T[src]

impl<O> GObjectExtManualGst 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.