[]Struct gstreamer_editing_services::Track

pub struct Track(_, _);
[]

Corresponds to one output format (i.e. audio OR video).

Contains the compatible TrackElement(s).

Implements

GESTrackExt, gst::ElementExt, gst::ObjectExt, glib::object::ObjectExt

Methods

impl Track[src][]

pub fn new(type_: TrackType, caps: &Caps) -> Track[src][]

Creates a new Track with the given type_ and caps.

The newly created track will steal a reference to the caps. If you wish to use those caps elsewhere, you will have to take an extra reference.

type_

The type of track

caps

The caps to restrict the output of the track to.

Returns

A new Track.

Trait Implementations

impl Clone for Track[+]

impl Debug for Track[+]

impl Eq for Track

impl Hash for Track[+]

impl IsA<Element> for Track

impl IsA<Object> for Track

impl Ord for Track[+]

impl<T: ObjectType> PartialEq<T> for Track[+]

impl<T: ObjectType> PartialOrd<T> for Track[+]

impl StaticType for Track[+]

Auto Trait Implementations

impl RefUnwindSafe for Track

impl !Send for Track

impl !Sync for Track

impl Unpin for Track

impl UnwindSafe for Track

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.