gstreamer_editing_services/auto/group.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, Container, Extractable, MetaContainer, TimelineElement};
7use glib::translate::*;
8
9glib::wrapper! {
10 #[doc(alias = "GESGroup")]
11 pub struct Group(Object<ffi::GESGroup, ffi::GESGroupClass>) @extends Container, TimelineElement, @implements Extractable, MetaContainer;
12
13 match fn {
14 type_ => || ffi::ges_group_get_type(),
15 }
16}
17
18impl Group {
19 pub const NONE: Option<&'static Group> = None;
20
21 #[doc(alias = "ges_group_new")]
22 pub fn new() -> Group {
23 assert_initialized_main_thread!();
24 unsafe { from_glib_none(ffi::ges_group_new()) }
25 }
26}
27
28impl Default for Group {
29 fn default() -> Self {
30 Self::new()
31 }
32}