1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// This file was generated by gir (https://github.com/gtk-rs/gir)
// from gir-files (https://github.com/gtk-rs/gir-files)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
// DO NOT EDIT

use crate::{ffi, Asset, MetaContainer, TrackElementAsset};

glib::wrapper! {
    /// This asset has a GStreamer bin-description as ID and is able to determine
    /// to what track type the effect should be used in.
    ///
    /// # Implements
    ///
    /// [`TrackElementAssetExt`][trait@crate::prelude::TrackElementAssetExt], [`AssetExt`][trait@crate::prelude::AssetExt], [`trait@glib::ObjectExt`], [`MetaContainerExt`][trait@crate::prelude::MetaContainerExt]
    #[doc(alias = "GESEffectAsset")]
    pub struct EffectAsset(Object<ffi::GESEffectAsset, ffi::GESEffectAssetClass>) @extends TrackElementAsset, Asset, @implements MetaContainer;

    match fn {
        type_ => || ffi::ges_effect_asset_get_type(),
    }
}

impl EffectAsset {
    pub const NONE: Option<&'static EffectAsset> = None;
}

unsafe impl Send for EffectAsset {}
unsafe impl Sync for EffectAsset {}