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
// 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, ClipAsset, MetaContainer};

glib::wrapper! {
    /// An asset types from which [`SourceClip`][crate::SourceClip] will be extracted
    ///
    /// # Implements
    ///
    /// [`ClipAssetExt`][trait@crate::prelude::ClipAssetExt], [`AssetExt`][trait@crate::prelude::AssetExt], [`trait@glib::ObjectExt`], [`MetaContainerExt`][trait@crate::prelude::MetaContainerExt]
    #[doc(alias = "GESSourceClipAsset")]
    pub struct SourceClipAsset(Object<ffi::GESSourceClipAsset, ffi::GESSourceClipAssetClass>) @extends ClipAsset, Asset, @implements MetaContainer;

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

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

unsafe impl Send for SourceClipAsset {}
unsafe impl Sync for SourceClipAsset {}