regen: NONE as associated consts

This commit is contained in:
François Laignel 2021-11-03 18:28:46 +01:00
parent 3780dc7667
commit 82b7239379
281 changed files with 678 additions and 411 deletions

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 7b93dbf37ad7) Generated by gir (https://github.com/gtk-rs/gir @ e0b1709803a7)
from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18) from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e)

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 7b93dbf37ad7) // Generated by gir (https://github.com/gtk-rs/gir @ e0b1709803a7)
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18) // from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e)
// DO NOT EDIT // DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 7b93dbf37ad7) // Generated by gir (https://github.com/gtk-rs/gir @ e0b1709803a7)
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18) // from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e)
// DO NOT EDIT // DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 7b93dbf37ad7) // Generated by gir (https://github.com/gtk-rs/gir @ e0b1709803a7)
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18) // from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e)
// DO NOT EDIT // DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 7b93dbf37ad7) // Generated by gir (https://github.com/gtk-rs/gir @ e0b1709803a7)
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18) // from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e)
// DO NOT EDIT // DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 7b93dbf37ad7) // Generated by gir (https://github.com/gtk-rs/gir @ e0b1709803a7)
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18) // from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e)
// DO NOT EDIT // DO NOT EDIT

View file

@ -25,7 +25,9 @@ glib::wrapper! {
unsafe impl Send for AudioBaseSink {} unsafe impl Send for AudioBaseSink {}
unsafe impl Sync for AudioBaseSink {} unsafe impl Sync for AudioBaseSink {}
pub const NONE_AUDIO_BASE_SINK: Option<&AudioBaseSink> = None; impl AudioBaseSink {
pub const NONE: Option<&'static AudioBaseSink> = None;
}
pub trait AudioBaseSinkExt: 'static { pub trait AudioBaseSinkExt: 'static {
//#[doc(alias = "gst_audio_base_sink_create_ringbuffer")] //#[doc(alias = "gst_audio_base_sink_create_ringbuffer")]

View file

@ -25,7 +25,9 @@ glib::wrapper! {
unsafe impl Send for AudioBaseSrc {} unsafe impl Send for AudioBaseSrc {}
unsafe impl Sync for AudioBaseSrc {} unsafe impl Sync for AudioBaseSrc {}
pub const NONE_AUDIO_BASE_SRC: Option<&AudioBaseSrc> = None; impl AudioBaseSrc {
pub const NONE: Option<&'static AudioBaseSrc> = None;
}
pub trait AudioBaseSrcExt: 'static { pub trait AudioBaseSrcExt: 'static {
//#[doc(alias = "gst_audio_base_src_create_ringbuffer")] //#[doc(alias = "gst_audio_base_src_create_ringbuffer")]

View file

@ -25,7 +25,9 @@ glib::wrapper! {
unsafe impl Send for AudioDecoder {} unsafe impl Send for AudioDecoder {}
unsafe impl Sync for AudioDecoder {} unsafe impl Sync for AudioDecoder {}
pub const NONE_AUDIO_DECODER: Option<&AudioDecoder> = None; impl AudioDecoder {
pub const NONE: Option<&'static AudioDecoder> = None;
}
pub trait AudioDecoderExt: 'static { pub trait AudioDecoderExt: 'static {
#[doc(alias = "gst_audio_decoder_allocate_output_buffer")] #[doc(alias = "gst_audio_decoder_allocate_output_buffer")]

View file

@ -25,7 +25,9 @@ glib::wrapper! {
unsafe impl Send for AudioEncoder {} unsafe impl Send for AudioEncoder {}
unsafe impl Sync for AudioEncoder {} unsafe impl Sync for AudioEncoder {}
pub const NONE_AUDIO_ENCODER: Option<&AudioEncoder> = None; impl AudioEncoder {
pub const NONE: Option<&'static AudioEncoder> = None;
}
pub trait AudioEncoderExt: 'static { pub trait AudioEncoderExt: 'static {
#[doc(alias = "gst_audio_encoder_allocate_output_buffer")] #[doc(alias = "gst_audio_encoder_allocate_output_buffer")]

View file

@ -19,4 +19,6 @@ impl AudioSink {}
unsafe impl Send for AudioSink {} unsafe impl Send for AudioSink {}
unsafe impl Sync for AudioSink {} unsafe impl Sync for AudioSink {}
pub const NONE_AUDIO_SINK: Option<&AudioSink> = None; impl AudioSink {
pub const NONE: Option<&'static AudioSink> = None;
}

View file

@ -19,4 +19,6 @@ impl AudioSrc {}
unsafe impl Send for AudioSrc {} unsafe impl Send for AudioSrc {}
unsafe impl Sync for AudioSrc {} unsafe impl Sync for AudioSrc {}
pub const NONE_AUDIO_SRC: Option<&AudioSrc> = None; impl AudioSrc {
pub const NONE: Option<&'static AudioSrc> = None;
}

View file

@ -4,25 +4,25 @@
// DO NOT EDIT // DO NOT EDIT
mod audio_base_sink; mod audio_base_sink;
pub use self::audio_base_sink::{AudioBaseSink, NONE_AUDIO_BASE_SINK}; pub use self::audio_base_sink::AudioBaseSink;
mod audio_base_src; mod audio_base_src;
pub use self::audio_base_src::{AudioBaseSrc, NONE_AUDIO_BASE_SRC}; pub use self::audio_base_src::AudioBaseSrc;
mod audio_decoder; mod audio_decoder;
pub use self::audio_decoder::{AudioDecoder, NONE_AUDIO_DECODER}; pub use self::audio_decoder::AudioDecoder;
mod audio_encoder; mod audio_encoder;
pub use self::audio_encoder::{AudioEncoder, NONE_AUDIO_ENCODER}; pub use self::audio_encoder::AudioEncoder;
mod audio_sink; mod audio_sink;
pub use self::audio_sink::{AudioSink, NONE_AUDIO_SINK}; pub use self::audio_sink::AudioSink;
mod audio_src; mod audio_src;
pub use self::audio_src::{AudioSrc, NONE_AUDIO_SRC}; pub use self::audio_src::AudioSrc;
mod stream_volume; mod stream_volume;
pub use self::stream_volume::{StreamVolume, NONE_STREAM_VOLUME}; pub use self::stream_volume::StreamVolume;
#[cfg(any(feature = "v1_14", feature = "dox"))] #[cfg(any(feature = "v1_14", feature = "dox"))]
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_14")))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_14")))]

View file

@ -32,7 +32,9 @@ impl StreamVolume {
unsafe impl Send for StreamVolume {} unsafe impl Send for StreamVolume {}
unsafe impl Sync for StreamVolume {} unsafe impl Sync for StreamVolume {}
pub const NONE_STREAM_VOLUME: Option<&StreamVolume> = None; impl StreamVolume {
pub const NONE: Option<&'static StreamVolume> = None;
}
pub trait StreamVolumeExt: 'static { pub trait StreamVolumeExt: 'static {
#[doc(alias = "gst_stream_volume_get_mute")] #[doc(alias = "gst_stream_volume_get_mute")]

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 7b93dbf37ad7) Generated by gir (https://github.com/gtk-rs/gir @ e0b1709803a7)
from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18) from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e)

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 7b93dbf37ad7) // Generated by gir (https://github.com/gtk-rs/gir @ e0b1709803a7)
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18) // from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e)
// DO NOT EDIT // DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 7b93dbf37ad7) // Generated by gir (https://github.com/gtk-rs/gir @ e0b1709803a7)
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18) // from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e)
// DO NOT EDIT // DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 7b93dbf37ad7) // Generated by gir (https://github.com/gtk-rs/gir @ e0b1709803a7)
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18) // from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e)
// DO NOT EDIT // DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 7b93dbf37ad7) // Generated by gir (https://github.com/gtk-rs/gir @ e0b1709803a7)
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18) // from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e)
// DO NOT EDIT // DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 7b93dbf37ad7) // Generated by gir (https://github.com/gtk-rs/gir @ e0b1709803a7)
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18) // from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e)
// DO NOT EDIT // DO NOT EDIT

View file

@ -31,7 +31,9 @@ glib::wrapper! {
unsafe impl Send for Aggregator {} unsafe impl Send for Aggregator {}
unsafe impl Sync for Aggregator {} unsafe impl Sync for Aggregator {}
pub const NONE_AGGREGATOR: Option<&Aggregator> = None; impl Aggregator {
pub const NONE: Option<&'static Aggregator> = None;
}
pub trait AggregatorExt: 'static { pub trait AggregatorExt: 'static {
#[doc(alias = "gst_aggregator_get_buffer_pool")] #[doc(alias = "gst_aggregator_get_buffer_pool")]

View file

@ -29,7 +29,9 @@ glib::wrapper! {
unsafe impl Send for AggregatorPad {} unsafe impl Send for AggregatorPad {}
unsafe impl Sync for AggregatorPad {} unsafe impl Sync for AggregatorPad {}
pub const NONE_AGGREGATOR_PAD: Option<&AggregatorPad> = None; impl AggregatorPad {
pub const NONE: Option<&'static AggregatorPad> = None;
}
pub trait AggregatorPadExt: 'static { pub trait AggregatorPadExt: 'static {
#[doc(alias = "gst_aggregator_pad_drop_buffer")] #[doc(alias = "gst_aggregator_pad_drop_buffer")]

View file

@ -25,7 +25,9 @@ glib::wrapper! {
unsafe impl Send for BaseParse {} unsafe impl Send for BaseParse {}
unsafe impl Sync for BaseParse {} unsafe impl Sync for BaseParse {}
pub const NONE_BASE_PARSE: Option<&BaseParse> = None; impl BaseParse {
pub const NONE: Option<&'static BaseParse> = None;
}
pub trait BaseParseExt: 'static { pub trait BaseParseExt: 'static {
#[doc(alias = "gst_base_parse_add_index_entry")] #[doc(alias = "gst_base_parse_add_index_entry")]

View file

@ -26,7 +26,9 @@ glib::wrapper! {
unsafe impl Send for BaseSink {} unsafe impl Send for BaseSink {}
unsafe impl Sync for BaseSink {} unsafe impl Sync for BaseSink {}
pub const NONE_BASE_SINK: Option<&BaseSink> = None; impl BaseSink {
pub const NONE: Option<&'static BaseSink> = None;
}
pub trait BaseSinkExt: 'static { pub trait BaseSinkExt: 'static {
//#[doc(alias = "gst_base_sink_do_preroll")] //#[doc(alias = "gst_base_sink_do_preroll")]

View file

@ -25,7 +25,9 @@ glib::wrapper! {
unsafe impl Send for BaseSrc {} unsafe impl Send for BaseSrc {}
unsafe impl Sync for BaseSrc {} unsafe impl Sync for BaseSrc {}
pub const NONE_BASE_SRC: Option<&BaseSrc> = None; impl BaseSrc {
pub const NONE: Option<&'static BaseSrc> = None;
}
pub trait BaseSrcExt: 'static { pub trait BaseSrcExt: 'static {
#[doc(alias = "gst_base_src_get_blocksize")] #[doc(alias = "gst_base_src_get_blocksize")]

View file

@ -25,7 +25,9 @@ glib::wrapper! {
unsafe impl Send for BaseTransform {} unsafe impl Send for BaseTransform {}
unsafe impl Sync for BaseTransform {} unsafe impl Sync for BaseTransform {}
pub const NONE_BASE_TRANSFORM: Option<&BaseTransform> = None; impl BaseTransform {
pub const NONE: Option<&'static BaseTransform> = None;
}
pub trait BaseTransformExt: 'static { pub trait BaseTransformExt: 'static {
#[doc(alias = "gst_base_transform_get_buffer_pool")] #[doc(alias = "gst_base_transform_get_buffer_pool")]

View file

@ -11,29 +11,29 @@ pub use self::adapter::Adapter;
mod aggregator; mod aggregator;
#[cfg(any(feature = "v1_14", feature = "dox"))] #[cfg(any(feature = "v1_14", feature = "dox"))]
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_14")))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_14")))]
pub use self::aggregator::{Aggregator, NONE_AGGREGATOR}; pub use self::aggregator::Aggregator;
#[cfg(any(feature = "v1_14", feature = "dox"))] #[cfg(any(feature = "v1_14", feature = "dox"))]
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_14")))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_14")))]
mod aggregator_pad; mod aggregator_pad;
#[cfg(any(feature = "v1_14", feature = "dox"))] #[cfg(any(feature = "v1_14", feature = "dox"))]
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_14")))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_14")))]
pub use self::aggregator_pad::{AggregatorPad, NONE_AGGREGATOR_PAD}; pub use self::aggregator_pad::AggregatorPad;
mod base_parse; mod base_parse;
pub use self::base_parse::{BaseParse, NONE_BASE_PARSE}; pub use self::base_parse::BaseParse;
mod base_sink; mod base_sink;
pub use self::base_sink::{BaseSink, NONE_BASE_SINK}; pub use self::base_sink::BaseSink;
mod base_src; mod base_src;
pub use self::base_src::{BaseSrc, NONE_BASE_SRC}; pub use self::base_src::BaseSrc;
mod base_transform; mod base_transform;
pub use self::base_transform::{BaseTransform, NONE_BASE_TRANSFORM}; pub use self::base_transform::BaseTransform;
mod push_src; mod push_src;
pub use self::push_src::{PushSrc, NONE_PUSH_SRC}; pub use self::push_src::PushSrc;
mod enums; mod enums;
#[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg(any(feature = "v1_18", feature = "dox"))]

View file

@ -19,4 +19,6 @@ impl PushSrc {}
unsafe impl Send for PushSrc {} unsafe impl Send for PushSrc {}
unsafe impl Sync for PushSrc {} unsafe impl Sync for PushSrc {}
pub const NONE_PUSH_SRC: Option<&PushSrc> = None; impl PushSrc {
pub const NONE: Option<&'static PushSrc> = None;
}

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 7b93dbf37ad7) Generated by gir (https://github.com/gtk-rs/gir @ e0b1709803a7)
from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18) from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e)

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 7b93dbf37ad7) // Generated by gir (https://github.com/gtk-rs/gir @ e0b1709803a7)
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18) // from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e)
// DO NOT EDIT // DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 7b93dbf37ad7) // Generated by gir (https://github.com/gtk-rs/gir @ e0b1709803a7)
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18) // from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e)
// DO NOT EDIT // DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 7b93dbf37ad7) // Generated by gir (https://github.com/gtk-rs/gir @ e0b1709803a7)
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18) // from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e)
// DO NOT EDIT // DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 7b93dbf37ad7) // Generated by gir (https://github.com/gtk-rs/gir @ e0b1709803a7)
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18) // from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e)
// DO NOT EDIT // DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 7b93dbf37ad7) // Generated by gir (https://github.com/gtk-rs/gir @ e0b1709803a7)
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18) // from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e)
// DO NOT EDIT // DO NOT EDIT

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 7b93dbf37ad7) Generated by gir (https://github.com/gtk-rs/gir @ e0b1709803a7)
from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18) from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e)

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 7b93dbf37ad7) // Generated by gir (https://github.com/gtk-rs/gir @ e0b1709803a7)
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18) // from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e)
// DO NOT EDIT // DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 7b93dbf37ad7) // Generated by gir (https://github.com/gtk-rs/gir @ e0b1709803a7)
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18) // from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e)
// DO NOT EDIT // DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 7b93dbf37ad7) // Generated by gir (https://github.com/gtk-rs/gir @ e0b1709803a7)
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18) // from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e)
// DO NOT EDIT // DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 7b93dbf37ad7) // Generated by gir (https://github.com/gtk-rs/gir @ e0b1709803a7)
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18) // from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e)
// DO NOT EDIT // DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 7b93dbf37ad7) // Generated by gir (https://github.com/gtk-rs/gir @ e0b1709803a7)
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18) // from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e)
// DO NOT EDIT // DO NOT EDIT

View file

@ -50,7 +50,9 @@ impl ARGBControlBinding {
unsafe impl Send for ARGBControlBinding {} unsafe impl Send for ARGBControlBinding {}
unsafe impl Sync for ARGBControlBinding {} unsafe impl Sync for ARGBControlBinding {}
pub const NONE_ARGB_CONTROL_BINDING: Option<&ARGBControlBinding> = None; impl ARGBControlBinding {
pub const NONE: Option<&'static ARGBControlBinding> = None;
}
pub trait ARGBControlBindingExt: 'static { pub trait ARGBControlBindingExt: 'static {
#[doc(alias = "control-source-a")] #[doc(alias = "control-source-a")]

View file

@ -61,7 +61,9 @@ impl DirectControlBinding {
unsafe impl Send for DirectControlBinding {} unsafe impl Send for DirectControlBinding {}
unsafe impl Sync for DirectControlBinding {} unsafe impl Sync for DirectControlBinding {}
pub const NONE_DIRECT_CONTROL_BINDING: Option<&DirectControlBinding> = None; impl DirectControlBinding {
pub const NONE: Option<&'static DirectControlBinding> = None;
}
pub trait DirectControlBindingExt: 'static { pub trait DirectControlBindingExt: 'static {
fn is_absolute(&self) -> bool; fn is_absolute(&self) -> bool;

View file

@ -44,7 +44,9 @@ impl Default for InterpolationControlSource {
unsafe impl Send for InterpolationControlSource {} unsafe impl Send for InterpolationControlSource {}
unsafe impl Sync for InterpolationControlSource {} unsafe impl Sync for InterpolationControlSource {}
pub const NONE_INTERPOLATION_CONTROL_SOURCE: Option<&InterpolationControlSource> = None; impl InterpolationControlSource {
pub const NONE: Option<&'static InterpolationControlSource> = None;
}
pub trait InterpolationControlSourceExt: 'static { pub trait InterpolationControlSourceExt: 'static {
fn mode(&self) -> InterpolationMode; fn mode(&self) -> InterpolationMode;

View file

@ -42,7 +42,9 @@ impl Default for LFOControlSource {
unsafe impl Send for LFOControlSource {} unsafe impl Send for LFOControlSource {}
unsafe impl Sync for LFOControlSource {} unsafe impl Sync for LFOControlSource {}
pub const NONE_LFO_CONTROL_SOURCE: Option<&LFOControlSource> = None; impl LFOControlSource {
pub const NONE: Option<&'static LFOControlSource> = None;
}
pub trait LFOControlSourceExt: 'static { pub trait LFOControlSourceExt: 'static {
fn amplitude(&self) -> f64; fn amplitude(&self) -> f64;

View file

@ -4,33 +4,29 @@
// DO NOT EDIT // DO NOT EDIT
mod argb_control_binding; mod argb_control_binding;
pub use self::argb_control_binding::{ARGBControlBinding, NONE_ARGB_CONTROL_BINDING}; pub use self::argb_control_binding::ARGBControlBinding;
mod direct_control_binding; mod direct_control_binding;
pub use self::direct_control_binding::{DirectControlBinding, NONE_DIRECT_CONTROL_BINDING}; pub use self::direct_control_binding::DirectControlBinding;
mod interpolation_control_source; mod interpolation_control_source;
pub use self::interpolation_control_source::{ pub use self::interpolation_control_source::InterpolationControlSource;
InterpolationControlSource, NONE_INTERPOLATION_CONTROL_SOURCE,
};
mod lfo_control_source; mod lfo_control_source;
pub use self::lfo_control_source::{LFOControlSource, NONE_LFO_CONTROL_SOURCE}; pub use self::lfo_control_source::LFOControlSource;
#[cfg(any(feature = "v1_12", feature = "dox"))] #[cfg(any(feature = "v1_12", feature = "dox"))]
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_12")))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_12")))]
mod proxy_control_binding; mod proxy_control_binding;
#[cfg(any(feature = "v1_12", feature = "dox"))] #[cfg(any(feature = "v1_12", feature = "dox"))]
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_12")))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_12")))]
pub use self::proxy_control_binding::{ProxyControlBinding, NONE_PROXY_CONTROL_BINDING}; pub use self::proxy_control_binding::ProxyControlBinding;
mod timed_value_control_source; mod timed_value_control_source;
pub use self::timed_value_control_source::{ pub use self::timed_value_control_source::TimedValueControlSource;
TimedValueControlSource, NONE_TIMED_VALUE_CONTROL_SOURCE,
};
mod trigger_control_source; mod trigger_control_source;
pub use self::trigger_control_source::{TriggerControlSource, NONE_TRIGGER_CONTROL_SOURCE}; pub use self::trigger_control_source::TriggerControlSource;
mod enums; mod enums;
pub use self::enums::InterpolationMode; pub use self::enums::InterpolationMode;

View file

@ -40,4 +40,6 @@ impl ProxyControlBinding {
unsafe impl Send for ProxyControlBinding {} unsafe impl Send for ProxyControlBinding {}
unsafe impl Sync for ProxyControlBinding {} unsafe impl Sync for ProxyControlBinding {}
pub const NONE_PROXY_CONTROL_BINDING: Option<&ProxyControlBinding> = None; impl ProxyControlBinding {
pub const NONE: Option<&'static ProxyControlBinding> = None;
}

View file

@ -24,7 +24,9 @@ glib::wrapper! {
unsafe impl Send for TimedValueControlSource {} unsafe impl Send for TimedValueControlSource {}
unsafe impl Sync for TimedValueControlSource {} unsafe impl Sync for TimedValueControlSource {}
pub const NONE_TIMED_VALUE_CONTROL_SOURCE: Option<&TimedValueControlSource> = None; impl TimedValueControlSource {
pub const NONE: Option<&'static TimedValueControlSource> = None;
}
pub trait TimedValueControlSourceExt: 'static { pub trait TimedValueControlSourceExt: 'static {
//#[doc(alias = "gst_timed_value_control_source_find_control_point_iter")] //#[doc(alias = "gst_timed_value_control_source_find_control_point_iter")]

View file

@ -42,7 +42,9 @@ impl Default for TriggerControlSource {
unsafe impl Send for TriggerControlSource {} unsafe impl Send for TriggerControlSource {}
unsafe impl Sync for TriggerControlSource {} unsafe impl Sync for TriggerControlSource {}
pub const NONE_TRIGGER_CONTROL_SOURCE: Option<&TriggerControlSource> = None; impl TriggerControlSource {
pub const NONE: Option<&'static TriggerControlSource> = None;
}
pub trait TriggerControlSourceExt: 'static { pub trait TriggerControlSourceExt: 'static {
fn tolerance(&self) -> i64; fn tolerance(&self) -> i64;

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 7b93dbf37ad7) Generated by gir (https://github.com/gtk-rs/gir @ e0b1709803a7)
from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18) from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e)

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 7b93dbf37ad7) // Generated by gir (https://github.com/gtk-rs/gir @ e0b1709803a7)
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18) // from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e)
// DO NOT EDIT // DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 7b93dbf37ad7) // Generated by gir (https://github.com/gtk-rs/gir @ e0b1709803a7)
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18) // from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e)
// DO NOT EDIT // DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 7b93dbf37ad7) // Generated by gir (https://github.com/gtk-rs/gir @ e0b1709803a7)
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18) // from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e)
// DO NOT EDIT // DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 7b93dbf37ad7) // Generated by gir (https://github.com/gtk-rs/gir @ e0b1709803a7)
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18) // from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e)
// DO NOT EDIT // DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 7b93dbf37ad7) // Generated by gir (https://github.com/gtk-rs/gir @ e0b1709803a7)
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18) // from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e)
// DO NOT EDIT // DO NOT EDIT

View file

@ -114,7 +114,9 @@ impl Asset {
} }
} }
pub const NONE_ASSET: Option<&Asset> = None; impl Asset {
pub const NONE: Option<&'static Asset> = None;
}
pub trait AssetExt: 'static { pub trait AssetExt: 'static {
#[doc(alias = "ges_asset_extract")] #[doc(alias = "ges_asset_extract")]

View file

@ -20,4 +20,6 @@ glib::wrapper! {
impl AudioSource {} impl AudioSource {}
pub const NONE_AUDIO_SOURCE: Option<&AudioSource> = None; impl AudioSource {
pub const NONE: Option<&'static AudioSource> = None;
}

View file

@ -21,7 +21,9 @@ glib::wrapper! {
} }
} }
pub const NONE_AUDIO_TEST_SOURCE: Option<&AudioTestSource> = None; impl AudioTestSource {
pub const NONE: Option<&'static AudioTestSource> = None;
}
pub trait AudioTestSourceExt: 'static { pub trait AudioTestSourceExt: 'static {
#[doc(alias = "ges_audio_test_source_get_freq")] #[doc(alias = "ges_audio_test_source_get_freq")]

View file

@ -30,4 +30,6 @@ impl Default for AudioTrack {
} }
} }
pub const NONE_AUDIO_TRACK: Option<&AudioTrack> = None; impl AudioTrack {
pub const NONE: Option<&'static AudioTrack> = None;
}

View file

@ -35,4 +35,6 @@ impl Default for AudioTransition {
} }
} }
pub const NONE_AUDIO_TRANSITION: Option<&AudioTransition> = None; impl AudioTransition {
pub const NONE: Option<&'static AudioTransition> = None;
}

View file

@ -22,7 +22,9 @@ glib::wrapper! {
} }
} }
pub const NONE_AUDIO_URI_SOURCE: Option<&AudioUriSource> = None; impl AudioUriSource {
pub const NONE: Option<&'static AudioUriSource> = None;
}
pub trait AudioUriSourceExt: 'static { pub trait AudioUriSourceExt: 'static {
fn uri(&self) -> Option<glib::GString>; fn uri(&self) -> Option<glib::GString>;

View file

@ -22,7 +22,9 @@ glib::wrapper! {
} }
} }
pub const NONE_BASE_EFFECT: Option<&BaseEffect> = None; impl BaseEffect {
pub const NONE: Option<&'static BaseEffect> = None;
}
pub trait BaseEffectExt: 'static { pub trait BaseEffectExt: 'static {
#[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg(any(feature = "v1_18", feature = "dox"))]

View file

@ -21,4 +21,6 @@ glib::wrapper! {
impl BaseEffectClip {} impl BaseEffectClip {}
pub const NONE_BASE_EFFECT_CLIP: Option<&BaseEffectClip> = None; impl BaseEffectClip {
pub const NONE: Option<&'static BaseEffectClip> = None;
}

View file

@ -21,4 +21,6 @@ glib::wrapper! {
impl BaseTransitionClip {} impl BaseTransitionClip {}
pub const NONE_BASE_TRANSITION_CLIP: Option<&BaseTransitionClip> = None; impl BaseTransitionClip {
pub const NONE: Option<&'static BaseTransitionClip> = None;
}

View file

@ -17,4 +17,6 @@ glib::wrapper! {
impl BaseXmlFormatter {} impl BaseXmlFormatter {}
pub const NONE_BASE_XML_FORMATTER: Option<&BaseXmlFormatter> = None; impl BaseXmlFormatter {
pub const NONE: Option<&'static BaseXmlFormatter> = None;
}

View file

@ -36,7 +36,9 @@ glib::wrapper! {
} }
} }
pub const NONE_CLIP: Option<&Clip> = None; impl Clip {
pub const NONE: Option<&'static Clip> = None;
}
pub trait ClipExt: 'static { pub trait ClipExt: 'static {
#[doc(alias = "ges_clip_add_asset")] #[doc(alias = "ges_clip_add_asset")]

View file

@ -29,7 +29,9 @@ glib::wrapper! {
} }
} }
pub const NONE_CLIP_ASSET: Option<&ClipAsset> = None; impl ClipAsset {
pub const NONE: Option<&'static ClipAsset> = None;
}
pub trait ClipAssetExt: 'static { pub trait ClipAssetExt: 'static {
#[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg(any(feature = "v1_18", feature = "dox"))]

View file

@ -54,4 +54,6 @@ impl CommandLineFormatter {
} }
} }
pub const NONE_COMMAND_LINE_FORMATTER: Option<&CommandLineFormatter> = None; impl CommandLineFormatter {
pub const NONE: Option<&'static CommandLineFormatter> = None;
}

View file

@ -35,7 +35,9 @@ impl Container {
} }
} }
pub const NONE_CONTAINER: Option<&Container> = None; impl Container {
pub const NONE: Option<&'static Container> = None;
}
pub trait GESContainerExt: 'static { pub trait GESContainerExt: 'static {
#[doc(alias = "ges_container_add")] #[doc(alias = "ges_container_add")]

View file

@ -33,7 +33,9 @@ impl Effect {
} }
} }
pub const NONE_EFFECT: Option<&Effect> = None; impl Effect {
pub const NONE: Option<&'static Effect> = None;
}
pub trait EffectExt: 'static { pub trait EffectExt: 'static {
#[doc(alias = "bin-description")] #[doc(alias = "bin-description")]

View file

@ -18,4 +18,6 @@ glib::wrapper! {
impl EffectAsset {} impl EffectAsset {}
pub const NONE_EFFECT_ASSET: Option<&EffectAsset> = None; impl EffectAsset {
pub const NONE: Option<&'static EffectAsset> = None;
}

View file

@ -39,7 +39,9 @@ impl EffectClip {
} }
} }
pub const NONE_EFFECT_CLIP: Option<&EffectClip> = None; impl EffectClip {
pub const NONE: Option<&'static EffectClip> = None;
}
pub trait EffectClipExt: 'static { pub trait EffectClipExt: 'static {
#[doc(alias = "audio-bin-description")] #[doc(alias = "audio-bin-description")]

View file

@ -16,7 +16,9 @@ glib::wrapper! {
} }
} }
pub const NONE_EXTRACTABLE: Option<&Extractable> = None; impl Extractable {
pub const NONE: Option<&'static Extractable> = None;
}
pub trait ExtractableExt: 'static { pub trait ExtractableExt: 'static {
#[doc(alias = "ges_extractable_get_asset")] #[doc(alias = "ges_extractable_get_asset")]

View file

@ -56,7 +56,9 @@ impl Formatter {
} }
} }
pub const NONE_FORMATTER: Option<&Formatter> = None; impl Formatter {
pub const NONE: Option<&'static Formatter> = None;
}
pub trait FormatterExt: 'static { pub trait FormatterExt: 'static {
#[cfg_attr(feature = "v1_18", deprecated = "Since 1.18")] #[cfg_attr(feature = "v1_18", deprecated = "Since 1.18")]

View file

@ -40,7 +40,9 @@ impl Default for Group {
} }
} }
pub const NONE_GROUP: Option<&Group> = None; impl Group {
pub const NONE: Option<&'static Group> = None;
}
pub trait GroupExt: 'static { pub trait GroupExt: 'static {
fn duration(&self) -> u64; fn duration(&self) -> u64;

View file

@ -22,7 +22,9 @@ glib::wrapper! {
} }
} }
pub const NONE_IMAGE_SOURCE: Option<&ImageSource> = None; impl ImageSource {
pub const NONE: Option<&'static ImageSource> = None;
}
pub trait ImageSourceExt: 'static { pub trait ImageSourceExt: 'static {
fn uri(&self) -> Option<glib::GString>; fn uri(&self) -> Option<glib::GString>;

View file

@ -46,7 +46,9 @@ impl Default for Layer {
} }
} }
pub const NONE_LAYER: Option<&Layer> = None; impl Layer {
pub const NONE: Option<&'static Layer> = None;
}
pub trait LayerExt: 'static { pub trait LayerExt: 'static {
#[doc(alias = "ges_layer_add_asset")] #[doc(alias = "ges_layer_add_asset")]

View file

@ -26,7 +26,9 @@ glib::wrapper! {
} }
} }
pub const NONE_META_CONTAINER: Option<&MetaContainer> = None; impl MetaContainer {
pub const NONE: Option<&'static MetaContainer> = None;
}
pub trait MetaContainerExt: 'static { pub trait MetaContainerExt: 'static {
#[doc(alias = "ges_meta_container_add_metas_from_string")] #[doc(alias = "ges_meta_container_add_metas_from_string")]

View file

@ -4,72 +4,72 @@
// DO NOT EDIT // DO NOT EDIT
mod asset; mod asset;
pub use self::asset::{Asset, NONE_ASSET}; pub use self::asset::Asset;
mod audio_source; mod audio_source;
pub use self::audio_source::{AudioSource, NONE_AUDIO_SOURCE}; pub use self::audio_source::AudioSource;
mod audio_test_source; mod audio_test_source;
pub use self::audio_test_source::{AudioTestSource, NONE_AUDIO_TEST_SOURCE}; pub use self::audio_test_source::AudioTestSource;
mod audio_track; mod audio_track;
pub use self::audio_track::{AudioTrack, NONE_AUDIO_TRACK}; pub use self::audio_track::AudioTrack;
mod audio_transition; mod audio_transition;
pub use self::audio_transition::{AudioTransition, NONE_AUDIO_TRANSITION}; pub use self::audio_transition::AudioTransition;
mod audio_uri_source; mod audio_uri_source;
pub use self::audio_uri_source::{AudioUriSource, NONE_AUDIO_URI_SOURCE}; pub use self::audio_uri_source::AudioUriSource;
mod base_effect; mod base_effect;
pub use self::base_effect::{BaseEffect, NONE_BASE_EFFECT}; pub use self::base_effect::BaseEffect;
mod base_effect_clip; mod base_effect_clip;
pub use self::base_effect_clip::{BaseEffectClip, NONE_BASE_EFFECT_CLIP}; pub use self::base_effect_clip::BaseEffectClip;
mod base_transition_clip; mod base_transition_clip;
pub use self::base_transition_clip::{BaseTransitionClip, NONE_BASE_TRANSITION_CLIP}; pub use self::base_transition_clip::BaseTransitionClip;
mod base_xml_formatter; mod base_xml_formatter;
pub use self::base_xml_formatter::{BaseXmlFormatter, NONE_BASE_XML_FORMATTER}; pub use self::base_xml_formatter::BaseXmlFormatter;
mod clip; mod clip;
pub use self::clip::{Clip, NONE_CLIP}; pub use self::clip::Clip;
mod clip_asset; mod clip_asset;
pub use self::clip_asset::{ClipAsset, NONE_CLIP_ASSET}; pub use self::clip_asset::ClipAsset;
mod command_line_formatter; mod command_line_formatter;
pub use self::command_line_formatter::{CommandLineFormatter, NONE_COMMAND_LINE_FORMATTER}; pub use self::command_line_formatter::CommandLineFormatter;
mod container; mod container;
pub use self::container::{Container, NONE_CONTAINER}; pub use self::container::Container;
mod effect; mod effect;
pub use self::effect::{Effect, NONE_EFFECT}; pub use self::effect::Effect;
mod effect_asset; mod effect_asset;
pub use self::effect_asset::{EffectAsset, NONE_EFFECT_ASSET}; pub use self::effect_asset::EffectAsset;
mod effect_clip; mod effect_clip;
pub use self::effect_clip::{EffectClip, NONE_EFFECT_CLIP}; pub use self::effect_clip::EffectClip;
mod extractable; mod extractable;
pub use self::extractable::{Extractable, NONE_EXTRACTABLE}; pub use self::extractable::Extractable;
mod formatter; mod formatter;
pub use self::formatter::{Formatter, NONE_FORMATTER}; pub use self::formatter::Formatter;
mod group; mod group;
pub use self::group::{Group, NONE_GROUP}; pub use self::group::Group;
#[cfg_attr(feature = "v1_18", deprecated = "Since 1.18")] #[cfg_attr(feature = "v1_18", deprecated = "Since 1.18")]
mod image_source; mod image_source;
#[cfg_attr(feature = "v1_18", deprecated = "Since 1.18")] #[cfg_attr(feature = "v1_18", deprecated = "Since 1.18")]
pub use self::image_source::{ImageSource, NONE_IMAGE_SOURCE}; pub use self::image_source::ImageSource;
mod layer; mod layer;
pub use self::layer::{Layer, NONE_LAYER}; pub use self::layer::Layer;
#[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg(any(feature = "v1_18", feature = "dox"))]
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))]
@ -86,103 +86,103 @@ mod marker_list;
pub use self::marker_list::MarkerList; pub use self::marker_list::MarkerList;
mod meta_container; mod meta_container;
pub use self::meta_container::{MetaContainer, NONE_META_CONTAINER}; pub use self::meta_container::MetaContainer;
#[cfg_attr(feature = "v1_18", deprecated = "Since 1.18")] #[cfg_attr(feature = "v1_18", deprecated = "Since 1.18")]
mod multi_file_source; mod multi_file_source;
#[cfg_attr(feature = "v1_18", deprecated = "Since 1.18")] #[cfg_attr(feature = "v1_18", deprecated = "Since 1.18")]
pub use self::multi_file_source::{MultiFileSource, NONE_MULTI_FILE_SOURCE}; pub use self::multi_file_source::MultiFileSource;
mod operation; mod operation;
pub use self::operation::{Operation, NONE_OPERATION}; pub use self::operation::Operation;
mod operation_clip; mod operation_clip;
pub use self::operation_clip::{OperationClip, NONE_OPERATION_CLIP}; pub use self::operation_clip::OperationClip;
mod overlay_clip; mod overlay_clip;
pub use self::overlay_clip::{OverlayClip, NONE_OVERLAY_CLIP}; pub use self::overlay_clip::OverlayClip;
mod pipeline; mod pipeline;
pub use self::pipeline::{Pipeline, NONE_PIPELINE}; pub use self::pipeline::Pipeline;
mod project; mod project;
pub use self::project::{Project, NONE_PROJECT}; pub use self::project::Project;
mod source; mod source;
pub use self::source::{Source, NONE_SOURCE}; pub use self::source::Source;
mod source_clip; mod source_clip;
pub use self::source_clip::{SourceClip, NONE_SOURCE_CLIP}; pub use self::source_clip::SourceClip;
#[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg(any(feature = "v1_18", feature = "dox"))]
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))]
mod source_clip_asset; mod source_clip_asset;
#[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg(any(feature = "v1_18", feature = "dox"))]
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))]
pub use self::source_clip_asset::{SourceClipAsset, NONE_SOURCE_CLIP_ASSET}; pub use self::source_clip_asset::SourceClipAsset;
mod test_clip; mod test_clip;
pub use self::test_clip::{TestClip, NONE_TEST_CLIP}; pub use self::test_clip::TestClip;
mod text_overlay; mod text_overlay;
pub use self::text_overlay::{TextOverlay, NONE_TEXT_OVERLAY}; pub use self::text_overlay::TextOverlay;
mod text_overlay_clip; mod text_overlay_clip;
pub use self::text_overlay_clip::{TextOverlayClip, NONE_TEXT_OVERLAY_CLIP}; pub use self::text_overlay_clip::TextOverlayClip;
mod timeline; mod timeline;
pub use self::timeline::{Timeline, NONE_TIMELINE}; pub use self::timeline::Timeline;
mod timeline_element; mod timeline_element;
pub use self::timeline_element::{TimelineElement, NONE_TIMELINE_ELEMENT}; pub use self::timeline_element::TimelineElement;
mod title_clip; mod title_clip;
pub use self::title_clip::{TitleClip, NONE_TITLE_CLIP}; pub use self::title_clip::TitleClip;
mod title_source; mod title_source;
pub use self::title_source::{TitleSource, NONE_TITLE_SOURCE}; pub use self::title_source::TitleSource;
mod track; mod track;
pub use self::track::{Track, NONE_TRACK}; pub use self::track::Track;
mod track_element; mod track_element;
pub use self::track_element::{TrackElement, NONE_TRACK_ELEMENT}; pub use self::track_element::TrackElement;
mod track_element_asset; mod track_element_asset;
pub use self::track_element_asset::{TrackElementAsset, NONE_TRACK_ELEMENT_ASSET}; pub use self::track_element_asset::TrackElementAsset;
mod transition; mod transition;
pub use self::transition::{Transition, NONE_TRANSITION}; pub use self::transition::Transition;
mod transition_clip; mod transition_clip;
pub use self::transition_clip::{TransitionClip, NONE_TRANSITION_CLIP}; pub use self::transition_clip::TransitionClip;
mod uri_clip; mod uri_clip;
pub use self::uri_clip::{UriClip, NONE_URI_CLIP}; pub use self::uri_clip::UriClip;
mod uri_clip_asset; mod uri_clip_asset;
pub use self::uri_clip_asset::{UriClipAsset, NONE_URI_CLIP_ASSET}; pub use self::uri_clip_asset::UriClipAsset;
mod uri_source_asset; mod uri_source_asset;
pub use self::uri_source_asset::{UriSourceAsset, NONE_URI_SOURCE_ASSET}; pub use self::uri_source_asset::UriSourceAsset;
mod video_source; mod video_source;
pub use self::video_source::{VideoSource, NONE_VIDEO_SOURCE}; pub use self::video_source::VideoSource;
mod video_test_source; mod video_test_source;
pub use self::video_test_source::{VideoTestSource, NONE_VIDEO_TEST_SOURCE}; pub use self::video_test_source::VideoTestSource;
mod video_track; mod video_track;
pub use self::video_track::{VideoTrack, NONE_VIDEO_TRACK}; pub use self::video_track::VideoTrack;
mod video_transition; mod video_transition;
pub use self::video_transition::{VideoTransition, NONE_VIDEO_TRANSITION}; pub use self::video_transition::VideoTransition;
mod video_uri_source; mod video_uri_source;
pub use self::video_uri_source::{VideoUriSource, NONE_VIDEO_URI_SOURCE}; pub use self::video_uri_source::VideoUriSource;
mod xml_formatter; mod xml_formatter;
pub use self::xml_formatter::{XmlFormatter, NONE_XML_FORMATTER}; pub use self::xml_formatter::XmlFormatter;
mod enums; mod enums;
pub use self::enums::AssetLoadingReturn; pub use self::enums::AssetLoadingReturn;

View file

@ -30,7 +30,9 @@ impl MultiFileSource {
} }
} }
pub const NONE_MULTI_FILE_SOURCE: Option<&MultiFileSource> = None; impl MultiFileSource {
pub const NONE: Option<&'static MultiFileSource> = None;
}
pub trait MultiFileSourceExt: 'static { pub trait MultiFileSourceExt: 'static {
fn uri(&self) -> Option<glib::GString>; fn uri(&self) -> Option<glib::GString>;

View file

@ -19,4 +19,6 @@ glib::wrapper! {
impl Operation {} impl Operation {}
pub const NONE_OPERATION: Option<&Operation> = None; impl Operation {
pub const NONE: Option<&'static Operation> = None;
}

View file

@ -20,4 +20,6 @@ glib::wrapper! {
impl OperationClip {} impl OperationClip {}
pub const NONE_OPERATION_CLIP: Option<&OperationClip> = None; impl OperationClip {
pub const NONE: Option<&'static OperationClip> = None;
}

View file

@ -21,4 +21,6 @@ glib::wrapper! {
impl OverlayClip {} impl OverlayClip {}
pub const NONE_OVERLAY_CLIP: Option<&OverlayClip> = None; impl OverlayClip {
pub const NONE: Option<&'static OverlayClip> = None;
}

View file

@ -39,7 +39,9 @@ impl Default for Pipeline {
} }
} }
pub const NONE_PIPELINE: Option<&Pipeline> = None; impl Pipeline {
pub const NONE: Option<&'static Pipeline> = None;
}
pub trait GESPipelineExt: 'static { pub trait GESPipelineExt: 'static {
#[doc(alias = "ges_pipeline_get_mode")] #[doc(alias = "ges_pipeline_get_mode")]

View file

@ -35,7 +35,9 @@ impl Project {
} }
} }
pub const NONE_PROJECT: Option<&Project> = None; impl Project {
pub const NONE: Option<&'static Project> = None;
}
pub trait ProjectExt: 'static { pub trait ProjectExt: 'static {
#[doc(alias = "ges_project_add_asset")] #[doc(alias = "ges_project_add_asset")]

View file

@ -19,4 +19,6 @@ glib::wrapper! {
impl Source {} impl Source {}
pub const NONE_SOURCE: Option<&Source> = None; impl Source {
pub const NONE: Option<&'static Source> = None;
}

View file

@ -31,4 +31,6 @@ impl SourceClip {
} }
} }
pub const NONE_SOURCE_CLIP: Option<&SourceClip> = None; impl SourceClip {
pub const NONE: Option<&'static SourceClip> = None;
}

View file

@ -18,4 +18,6 @@ glib::wrapper! {
impl SourceClipAsset {} impl SourceClipAsset {}
pub const NONE_SOURCE_CLIP_ASSET: Option<&SourceClipAsset> = None; impl SourceClipAsset {
pub const NONE: Option<&'static SourceClipAsset> = None;
}

View file

@ -44,7 +44,9 @@ impl TestClip {
} }
} }
pub const NONE_TEST_CLIP: Option<&TestClip> = None; impl TestClip {
pub const NONE: Option<&'static TestClip> = None;
}
pub trait TestClipExt: 'static { pub trait TestClipExt: 'static {
#[doc(alias = "ges_test_clip_get_frequency")] #[doc(alias = "ges_test_clip_get_frequency")]

View file

@ -31,7 +31,9 @@ impl TextOverlay {
} }
} }
pub const NONE_TEXT_OVERLAY: Option<&TextOverlay> = None; impl TextOverlay {
pub const NONE: Option<&'static TextOverlay> = None;
}
pub trait TextOverlayExt: 'static { pub trait TextOverlayExt: 'static {
#[doc(alias = "ges_text_overlay_get_color")] #[doc(alias = "ges_text_overlay_get_color")]

View file

@ -38,7 +38,9 @@ impl TextOverlayClip {
} }
} }
pub const NONE_TEXT_OVERLAY_CLIP: Option<&TextOverlayClip> = None; impl TextOverlayClip {
pub const NONE: Option<&'static TextOverlayClip> = None;
}
pub trait TextOverlayClipExt: 'static { pub trait TextOverlayClipExt: 'static {
#[doc(alias = "ges_text_overlay_clip_get_color")] #[doc(alias = "ges_text_overlay_clip_get_color")]

View file

@ -70,7 +70,9 @@ impl Default for Timeline {
} }
} }
pub const NONE_TIMELINE: Option<&Timeline> = None; impl Timeline {
pub const NONE: Option<&'static Timeline> = None;
}
pub trait TimelineExt: 'static { pub trait TimelineExt: 'static {
#[cfg_attr(feature = "v1_18", deprecated = "Since 1.18")] #[cfg_attr(feature = "v1_18", deprecated = "Since 1.18")]

View file

@ -41,7 +41,9 @@ glib::wrapper! {
} }
} }
pub const NONE_TIMELINE_ELEMENT: Option<&TimelineElement> = None; impl TimelineElement {
pub const NONE: Option<&'static TimelineElement> = None;
}
pub trait TimelineElementExt: 'static { pub trait TimelineElementExt: 'static {
//#[doc(alias = "ges_timeline_element_add_child_property")] //#[doc(alias = "ges_timeline_element_add_child_property")]

View file

@ -37,7 +37,9 @@ impl TitleClip {
} }
} }
pub const NONE_TITLE_CLIP: Option<&TitleClip> = None; impl TitleClip {
pub const NONE: Option<&'static TitleClip> = None;
}
pub trait TitleClipExt: 'static { pub trait TitleClipExt: 'static {
#[deprecated = "Since 1.6"] #[deprecated = "Since 1.6"]

View file

@ -23,7 +23,9 @@ glib::wrapper! {
} }
} }
pub const NONE_TITLE_SOURCE: Option<&TitleSource> = None; impl TitleSource {
pub const NONE: Option<&'static TitleSource> = None;
}
pub trait TitleSourceExt: 'static { pub trait TitleSourceExt: 'static {
#[doc(alias = "ges_title_source_get_background_color")] #[doc(alias = "ges_title_source_get_background_color")]

View file

@ -39,7 +39,9 @@ impl Track {
} }
} }
pub const NONE_TRACK: Option<&Track> = None; impl Track {
pub const NONE: Option<&'static Track> = None;
}
pub trait GESTrackExt: 'static { pub trait GESTrackExt: 'static {
#[doc(alias = "ges_track_add_element")] #[doc(alias = "ges_track_add_element")]

View file

@ -28,7 +28,9 @@ glib::wrapper! {
} }
} }
pub const NONE_TRACK_ELEMENT: Option<&TrackElement> = None; impl TrackElement {
pub const NONE: Option<&'static TrackElement> = None;
}
pub trait TrackElementExt: 'static { pub trait TrackElementExt: 'static {
#[doc(alias = "ges_track_element_add_children_props")] #[doc(alias = "ges_track_element_add_children_props")]

View file

@ -26,7 +26,9 @@ glib::wrapper! {
} }
} }
pub const NONE_TRACK_ELEMENT_ASSET: Option<&TrackElementAsset> = None; impl TrackElementAsset {
pub const NONE: Option<&'static TrackElementAsset> = None;
}
pub trait TrackElementAssetExt: 'static { pub trait TrackElementAssetExt: 'static {
#[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg(any(feature = "v1_18", feature = "dox"))]

View file

@ -20,4 +20,6 @@ glib::wrapper! {
impl Transition {} impl Transition {}
pub const NONE_TRANSITION: Option<&Transition> = None; impl Transition {
pub const NONE: Option<&'static Transition> = None;
}

View file

@ -45,7 +45,9 @@ impl TransitionClip {
} }
} }
pub const NONE_TRANSITION_CLIP: Option<&TransitionClip> = None; impl TransitionClip {
pub const NONE: Option<&'static TransitionClip> = None;
}
pub trait TransitionClipExt: 'static { pub trait TransitionClipExt: 'static {
fn vtype(&self) -> VideoStandardTransitionType; fn vtype(&self) -> VideoStandardTransitionType;

View file

@ -37,7 +37,9 @@ impl UriClip {
} }
} }
pub const NONE_URI_CLIP: Option<&UriClip> = None; impl UriClip {
pub const NONE: Option<&'static UriClip> = None;
}
pub trait UriClipExt: 'static { pub trait UriClipExt: 'static {
#[doc(alias = "ges_uri_clip_get_uri")] #[doc(alias = "ges_uri_clip_get_uri")]

Some files were not shown because too many files have changed in this diff Show more