mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-09-22 12:00:06 +00:00
30 lines
1.1 KiB
Rust
30 lines
1.1 KiB
Rust
// 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::{Clip, Container, Extractable, MetaContainer, TimelineElement};
|
|
#[cfg(feature = "v1_18")]
|
|
#[cfg_attr(docsrs, doc(cfg(feature = "v1_18")))]
|
|
use glib::translate::*;
|
|
|
|
glib::wrapper! {
|
|
#[doc(alias = "GESSourceClip")]
|
|
pub struct SourceClip(Object<ffi::GESSourceClip, ffi::GESSourceClipClass>) @extends Clip, Container, TimelineElement, @implements Extractable, MetaContainer;
|
|
|
|
match fn {
|
|
type_ => || ffi::ges_source_clip_get_type(),
|
|
}
|
|
}
|
|
|
|
impl SourceClip {
|
|
pub const NONE: Option<&'static SourceClip> = None;
|
|
|
|
#[cfg(feature = "v1_18")]
|
|
#[cfg_attr(docsrs, doc(cfg(feature = "v1_18")))]
|
|
#[doc(alias = "ges_source_clip_new_time_overlay")]
|
|
pub fn new_time_overlay() -> Option<SourceClip> {
|
|
assert_initialized_main_thread!();
|
|
unsafe { from_glib_none(ffi::ges_source_clip_new_time_overlay()) }
|
|
}
|
|
}
|