gstreamer_editing_services/auto/
effect_asset.rs

1// This file was generated by gir (https://github.com/gtk-rs/gir)
2// from gir-files (https://github.com/gtk-rs/gir-files)
3// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
4// DO NOT EDIT
5
6use crate::{ffi, Asset, MetaContainer, TrackElementAsset};
7
8glib::wrapper! {
9    /// This asset has a GStreamer bin-description as ID and is able to determine
10    /// to what track type the effect should be used in.
11    ///
12    /// # Implements
13    ///
14    /// [`TrackElementAssetExt`][trait@crate::prelude::TrackElementAssetExt], [`AssetExt`][trait@crate::prelude::AssetExt], [`trait@glib::ObjectExt`], [`MetaContainerExt`][trait@crate::prelude::MetaContainerExt]
15    #[doc(alias = "GESEffectAsset")]
16    pub struct EffectAsset(Object<ffi::GESEffectAsset, ffi::GESEffectAssetClass>) @extends TrackElementAsset, Asset, @implements MetaContainer;
17
18    match fn {
19        type_ => || ffi::ges_effect_asset_get_type(),
20    }
21}
22
23impl EffectAsset {
24    pub const NONE: Option<&'static EffectAsset> = None;
25}
26
27unsafe impl Send for EffectAsset {}
28unsafe impl Sync for EffectAsset {}