Regenerate with latest gir

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1156>
This commit is contained in:
Sebastian Dröge 2022-11-26 11:28:05 +02:00
parent 92d8df4ac3
commit 0b013001b7
75 changed files with 1753 additions and 49 deletions

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ e94fdc6499e4) Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3)
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362) from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ e94fdc6499e4) Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3)
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362) from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)

View file

@ -97,6 +97,16 @@ impl ToValue for AppLeakyType {
} }
} }
#[cfg(any(feature = "v1_20", feature = "dox"))]
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_20")))]
impl From<AppLeakyType> for glib::Value {
#[inline]
fn from(v: AppLeakyType) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive] #[non_exhaustive]
#[doc(alias = "GstAppStreamType")] #[doc(alias = "GstAppStreamType")]
@ -170,3 +180,11 @@ impl ToValue for AppStreamType {
Self::static_type() Self::static_type()
} }
} }
impl From<AppStreamType> for glib::Value {
#[inline]
fn from(v: AppStreamType) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ e94fdc6499e4) Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3)
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362) from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ e94fdc6499e4) Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3)
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362) from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)

View file

@ -196,6 +196,14 @@ impl ToValue for AudioChannelPosition {
} }
} }
impl From<AudioChannelPosition> for glib::Value {
#[inline]
fn from(v: AudioChannelPosition) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive] #[non_exhaustive]
#[doc(alias = "GstAudioDitherMethod")] #[doc(alias = "GstAudioDitherMethod")]
@ -274,6 +282,14 @@ impl ToValue for AudioDitherMethod {
} }
} }
impl From<AudioDitherMethod> for glib::Value {
#[inline]
fn from(v: AudioDitherMethod) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[derive(Debug, Eq, PartialEq, Hash, Clone, Copy)] #[derive(Debug, Eq, PartialEq, Hash, Clone, Copy)]
#[non_exhaustive] #[non_exhaustive]
#[doc(alias = "GstAudioFormat")] #[doc(alias = "GstAudioFormat")]
@ -479,6 +495,14 @@ impl ToValue for AudioFormat {
} }
} }
impl From<AudioFormat> for glib::Value {
#[inline]
fn from(v: AudioFormat) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive] #[non_exhaustive]
#[doc(alias = "GstAudioLayout")] #[doc(alias = "GstAudioLayout")]
@ -549,6 +573,14 @@ impl ToValue for AudioLayout {
} }
} }
impl From<AudioLayout> for glib::Value {
#[inline]
fn from(v: AudioLayout) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive] #[non_exhaustive]
#[doc(alias = "GstAudioNoiseShapingMethod")] #[doc(alias = "GstAudioNoiseShapingMethod")]
@ -631,6 +663,14 @@ impl ToValue for AudioNoiseShapingMethod {
} }
} }
impl From<AudioNoiseShapingMethod> for glib::Value {
#[inline]
fn from(v: AudioNoiseShapingMethod) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive] #[non_exhaustive]
#[doc(alias = "GstAudioResamplerMethod")] #[doc(alias = "GstAudioResamplerMethod")]
@ -713,6 +753,14 @@ impl ToValue for AudioResamplerMethod {
} }
} }
impl From<AudioResamplerMethod> for glib::Value {
#[inline]
fn from(v: AudioResamplerMethod) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive] #[non_exhaustive]
#[doc(alias = "GstAudioRingBufferFormatType")] #[doc(alias = "GstAudioRingBufferFormatType")]
@ -835,6 +883,14 @@ impl ToValue for AudioRingBufferFormatType {
} }
} }
impl From<AudioRingBufferFormatType> for glib::Value {
#[inline]
fn from(v: AudioRingBufferFormatType) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive] #[non_exhaustive]
#[doc(alias = "GstStreamVolumeFormat")] #[doc(alias = "GstStreamVolumeFormat")]

View file

@ -68,6 +68,14 @@ impl ToValue for AudioFlags {
} }
} }
impl From<AudioFlags> for glib::Value {
#[inline]
fn from(v: AudioFlags) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
bitflags! { bitflags! {
#[doc(alias = "GstAudioFormatFlags")] #[doc(alias = "GstAudioFormatFlags")]
pub struct AudioFormatFlags: u32 { pub struct AudioFormatFlags: u32 {
@ -134,6 +142,14 @@ impl ToValue for AudioFormatFlags {
} }
} }
impl From<AudioFormatFlags> for glib::Value {
#[inline]
fn from(v: AudioFormatFlags) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
bitflags! { bitflags! {
#[doc(alias = "GstAudioPackFlags")] #[doc(alias = "GstAudioPackFlags")]
pub struct AudioPackFlags: u32 { pub struct AudioPackFlags: u32 {
@ -191,3 +207,11 @@ impl ToValue for AudioPackFlags {
Self::static_type() Self::static_type()
} }
} }
impl From<AudioPackFlags> for glib::Value {
#[inline]
fn from(v: AudioPackFlags) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ e94fdc6499e4) Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3)
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362) from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ e94fdc6499e4) Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3)
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362) from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)

View file

@ -106,3 +106,13 @@ impl ToValue for AggregatorStartTimeSelection {
Self::static_type() Self::static_type()
} }
} }
#[cfg(any(feature = "v1_18", feature = "dox"))]
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))]
impl From<AggregatorStartTimeSelection> for glib::Value {
#[inline]
fn from(v: AggregatorStartTimeSelection) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ e94fdc6499e4) Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3)
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362) from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ e94fdc6499e4) Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3)
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362) from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ e94fdc6499e4) Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3)
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362) from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ e94fdc6499e4) Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3)
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362) from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)

View file

@ -87,6 +87,14 @@ impl ToValue for InterpolationMode {
} }
} }
impl From<InterpolationMode> for glib::Value {
#[inline]
fn from(v: InterpolationMode) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive] #[non_exhaustive]
#[doc(alias = "GstLFOWaveform")] #[doc(alias = "GstLFOWaveform")]
@ -168,3 +176,11 @@ impl ToValue for LFOWaveform {
Self::static_type() Self::static_type()
} }
} }
impl From<LFOWaveform> for glib::Value {
#[inline]
fn from(v: LFOWaveform) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ e94fdc6499e4) Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3)
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362) from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ e94fdc6499e4) Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3)
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362) from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)

View file

@ -204,6 +204,14 @@ impl ToValue for Edge {
} }
} }
impl From<Edge> for glib::Value {
#[inline]
fn from(v: Edge) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive] #[non_exhaustive]
#[doc(alias = "GESEditMode")] #[doc(alias = "GESEditMode")]
@ -311,6 +319,14 @@ impl ToValue for EditMode {
} }
} }
impl From<EditMode> for glib::Value {
#[inline]
fn from(v: EditMode) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive] #[non_exhaustive]
#[doc(alias = "GESError")] #[doc(alias = "GESError")]
@ -458,6 +474,14 @@ impl ToValue for TextHAlign {
} }
} }
impl From<TextHAlign> for glib::Value {
#[inline]
fn from(v: TextHAlign) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive] #[non_exhaustive]
#[doc(alias = "GESTextVAlign")] #[doc(alias = "GESTextVAlign")]
@ -544,6 +568,14 @@ impl ToValue for TextVAlign {
} }
} }
impl From<TextVAlign> for glib::Value {
#[inline]
fn from(v: TextVAlign) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive] #[non_exhaustive]
#[doc(alias = "GESVideoStandardTransitionType")] #[doc(alias = "GESVideoStandardTransitionType")]
@ -902,6 +934,14 @@ impl ToValue for VideoStandardTransitionType {
} }
} }
impl From<VideoStandardTransitionType> for glib::Value {
#[inline]
fn from(v: VideoStandardTransitionType) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive] #[non_exhaustive]
#[doc(alias = "GESVideoTestPattern")] #[doc(alias = "GESVideoTestPattern")]
@ -1035,3 +1075,11 @@ impl ToValue for VideoTestPattern {
Self::static_type() Self::static_type()
} }
} }
impl From<VideoTestPattern> for glib::Value {
#[inline]
fn from(v: VideoTestPattern) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}

View file

@ -86,6 +86,16 @@ impl ToValue for MarkerFlags {
} }
} }
#[cfg(any(feature = "v1_20", feature = "dox"))]
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_20")))]
impl From<MarkerFlags> for glib::Value {
#[inline]
fn from(v: MarkerFlags) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
bitflags! { bitflags! {
#[doc(alias = "GESMetaFlag")] #[doc(alias = "GESMetaFlag")]
pub struct MetaFlag: u32 { pub struct MetaFlag: u32 {
@ -148,6 +158,14 @@ impl ToValue for MetaFlag {
} }
} }
impl From<MetaFlag> for glib::Value {
#[inline]
fn from(v: MetaFlag) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
bitflags! { bitflags! {
#[doc(alias = "GESPipelineFlags")] #[doc(alias = "GESPipelineFlags")]
pub struct PipelineFlags: u32 { pub struct PipelineFlags: u32 {
@ -214,6 +232,14 @@ impl ToValue for PipelineFlags {
} }
} }
impl From<PipelineFlags> for glib::Value {
#[inline]
fn from(v: PipelineFlags) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
bitflags! { bitflags! {
#[doc(alias = "GESTrackType")] #[doc(alias = "GESTrackType")]
pub struct TrackType: u32 { pub struct TrackType: u32 {
@ -300,3 +326,11 @@ impl ToValue for TrackType {
Self::static_type() Self::static_type()
} }
} }
impl From<TrackType> for glib::Value {
#[inline]
fn from(v: TrackType) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ e94fdc6499e4) Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3)
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362) from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ e94fdc6499e4) Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3)
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362) from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ e94fdc6499e4) Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3)
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362) from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ e94fdc6499e4) Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3)
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362) from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)

View file

@ -114,6 +114,16 @@ impl ToValue for GLConfigCaveat {
} }
} }
#[cfg(any(feature = "v1_20", feature = "dox"))]
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_20")))]
impl From<GLConfigCaveat> for glib::Value {
#[inline]
fn from(v: GLConfigCaveat) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive] #[non_exhaustive]
#[doc(alias = "GstGLContextError")] #[doc(alias = "GstGLContextError")]
@ -225,6 +235,14 @@ impl ToValue for GLContextError {
} }
} }
impl From<GLContextError> for glib::Value {
#[inline]
fn from(v: GLContextError) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive] #[non_exhaustive]
#[doc(alias = "GstGLFormat")] #[doc(alias = "GstGLFormat")]
@ -420,6 +438,14 @@ impl ToValue for GLFormat {
} }
} }
impl From<GLFormat> for glib::Value {
#[inline]
fn from(v: GLFormat) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive] #[non_exhaustive]
#[doc(alias = "GstGLQueryType")] #[doc(alias = "GstGLQueryType")]
@ -494,6 +520,14 @@ impl ToValue for GLQueryType {
} }
} }
impl From<GLQueryType> for glib::Value {
#[inline]
fn from(v: GLQueryType) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive] #[non_exhaustive]
#[doc(alias = "GstGLSLError")] #[doc(alias = "GstGLSLError")]
@ -590,6 +624,14 @@ impl ToValue for GLSLError {
} }
} }
impl From<GLSLError> for glib::Value {
#[inline]
fn from(v: GLSLError) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive] #[non_exhaustive]
#[doc(alias = "GstGLSLVersion")] #[doc(alias = "GstGLSLVersion")]
@ -768,6 +810,14 @@ impl ToValue for GLSLVersion {
} }
} }
impl From<GLSLVersion> for glib::Value {
#[inline]
fn from(v: GLSLVersion) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive] #[non_exhaustive]
#[doc(alias = "GstGLStereoDownmix")] #[doc(alias = "GstGLStereoDownmix")]
@ -842,6 +892,14 @@ impl ToValue for GLStereoDownmix {
} }
} }
impl From<GLStereoDownmix> for glib::Value {
#[inline]
fn from(v: GLStereoDownmix) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive] #[non_exhaustive]
#[doc(alias = "GstGLTextureTarget")] #[doc(alias = "GstGLTextureTarget")]
@ -957,6 +1015,14 @@ impl ToValue for GLTextureTarget {
} }
} }
impl From<GLTextureTarget> for glib::Value {
#[inline]
fn from(v: GLTextureTarget) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive] #[non_exhaustive]
#[doc(alias = "GstGLUploadReturn")] #[doc(alias = "GstGLUploadReturn")]
@ -1039,6 +1105,14 @@ impl ToValue for GLUploadReturn {
} }
} }
impl From<GLUploadReturn> for glib::Value {
#[inline]
fn from(v: GLUploadReturn) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive] #[non_exhaustive]
#[doc(alias = "GstGLWindowError")] #[doc(alias = "GstGLWindowError")]
@ -1134,3 +1208,11 @@ impl ToValue for GLWindowError {
Self::static_type() Self::static_type()
} }
} }
impl From<GLWindowError> for glib::Value {
#[inline]
fn from(v: GLWindowError) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}

View file

@ -97,6 +97,14 @@ impl ToValue for GLAPI {
} }
} }
impl From<GLAPI> for glib::Value {
#[inline]
fn from(v: GLAPI) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[cfg(any(feature = "v1_20", feature = "dox"))] #[cfg(any(feature = "v1_20", feature = "dox"))]
bitflags! { bitflags! {
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_20")))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_20")))]
@ -186,6 +194,16 @@ impl ToValue for GLConfigSurfaceType {
} }
} }
#[cfg(any(feature = "v1_20", feature = "dox"))]
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_20")))]
impl From<GLConfigSurfaceType> for glib::Value {
#[inline]
fn from(v: GLConfigSurfaceType) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
bitflags! { bitflags! {
#[doc(alias = "GstGLDisplayType")] #[doc(alias = "GstGLDisplayType")]
pub struct GLDisplayType: u32 { pub struct GLDisplayType: u32 {
@ -274,6 +292,14 @@ impl ToValue for GLDisplayType {
} }
} }
impl From<GLDisplayType> for glib::Value {
#[inline]
fn from(v: GLDisplayType) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
bitflags! { bitflags! {
#[doc(alias = "GstGLPlatform")] #[doc(alias = "GstGLPlatform")]
pub struct GLPlatform: u32 { pub struct GLPlatform: u32 {
@ -366,6 +392,14 @@ impl ToValue for GLPlatform {
} }
} }
impl From<GLPlatform> for glib::Value {
#[inline]
fn from(v: GLPlatform) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
bitflags! { bitflags! {
#[doc(alias = "GstGLSLProfile")] #[doc(alias = "GstGLSLProfile")]
pub struct GLSLProfile: u32 { pub struct GLSLProfile: u32 {
@ -442,3 +476,11 @@ impl ToValue for GLSLProfile {
Self::static_type() Self::static_type()
} }
} }
impl From<GLSLProfile> for glib::Value {
#[inline]
fn from(v: GLSLProfile) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ e94fdc6499e4) Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3)
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362) from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ e94fdc6499e4) Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3)
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362) from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ e94fdc6499e4) Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3)
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362) from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ e94fdc6499e4) Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3)
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362) from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ e94fdc6499e4) Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3)
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362) from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ e94fdc6499e4) Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3)
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362) from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ e94fdc6499e4) Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3)
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362) from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ e94fdc6499e4) Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3)
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362) from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ e94fdc6499e4) Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3)
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362) from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ e94fdc6499e4) Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3)
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362) from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)

View file

@ -111,6 +111,14 @@ impl ToValue for AudioVisualizerShader {
} }
} }
impl From<AudioVisualizerShader> for glib::Value {
#[inline]
fn from(v: AudioVisualizerShader) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive] #[non_exhaustive]
#[doc(alias = "GstDiscovererResult")] #[doc(alias = "GstDiscovererResult")]
@ -196,3 +204,11 @@ impl ToValue for DiscovererResult {
Self::static_type() Self::static_type()
} }
} }
impl From<DiscovererResult> for glib::Value {
#[inline]
fn from(v: DiscovererResult) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}

View file

@ -72,6 +72,14 @@ impl ToValue for DiscovererSerializeFlags {
} }
} }
impl From<DiscovererSerializeFlags> for glib::Value {
#[inline]
fn from(v: DiscovererSerializeFlags) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[cfg(any(feature = "v1_20", feature = "dox"))] #[cfg(any(feature = "v1_20", feature = "dox"))]
bitflags! { bitflags! {
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_20")))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_20")))]
@ -159,3 +167,13 @@ impl ToValue for PbUtilsCapsDescriptionFlags {
Self::static_type() Self::static_type()
} }
} }
#[cfg(any(feature = "v1_20", feature = "dox"))]
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_20")))]
impl From<PbUtilsCapsDescriptionFlags> for glib::Value {
#[inline]
fn from(v: PbUtilsCapsDescriptionFlags) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ e94fdc6499e4) Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3)
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362) from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ e94fdc6499e4) Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3)
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362) from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)

View file

@ -115,6 +115,14 @@ impl ToValue for PlayColorBalanceType {
} }
} }
impl From<PlayColorBalanceType> for glib::Value {
#[inline]
fn from(v: PlayColorBalanceType) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive] #[non_exhaustive]
#[doc(alias = "GstPlayError")] #[doc(alias = "GstPlayError")]
@ -222,6 +230,14 @@ impl ToValue for PlayError {
} }
} }
impl From<PlayError> for glib::Value {
#[inline]
fn from(v: PlayError) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive] #[non_exhaustive]
#[doc(alias = "GstPlayMessage")] #[doc(alias = "GstPlayMessage")]
@ -483,6 +499,14 @@ impl ToValue for PlayMessage {
} }
} }
impl From<PlayMessage> for glib::Value {
#[inline]
fn from(v: PlayMessage) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive] #[non_exhaustive]
#[doc(alias = "GstPlaySnapshotFormat")] #[doc(alias = "GstPlaySnapshotFormat")]
@ -630,3 +654,11 @@ impl ToValue for PlayState {
Self::static_type() Self::static_type()
} }
} }
impl From<PlayState> for glib::Value {
#[inline]
fn from(v: PlayState) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ e94fdc6499e4) Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3)
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362) from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ e94fdc6499e4) Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3)
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362) from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)

View file

@ -112,6 +112,14 @@ impl ToValue for PlayerColorBalanceType {
} }
} }
impl From<PlayerColorBalanceType> for glib::Value {
#[inline]
fn from(v: PlayerColorBalanceType) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive] #[non_exhaustive]
#[doc(alias = "GstPlayerError")] #[doc(alias = "GstPlayerError")]
@ -219,6 +227,14 @@ impl ToValue for PlayerError {
} }
} }
impl From<PlayerError> for glib::Value {
#[inline]
fn from(v: PlayerError) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive] #[non_exhaustive]
#[doc(alias = "GstPlayerSnapshotFormat")] #[doc(alias = "GstPlayerSnapshotFormat")]
@ -366,3 +382,11 @@ impl ToValue for PlayerState {
Self::static_type() Self::static_type()
} }
} }
impl From<PlayerState> for glib::Value {
#[inline]
fn from(v: PlayerState) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ e94fdc6499e4) Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3)
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362) from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ e94fdc6499e4) Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3)
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362) from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)

View file

@ -107,6 +107,14 @@ impl ToValue for RTCPFBType {
} }
} }
impl From<RTCPFBType> for glib::Value {
#[inline]
fn from(v: RTCPFBType) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive] #[non_exhaustive]
#[doc(alias = "GstRTCPSDESType")] #[doc(alias = "GstRTCPSDESType")]
@ -265,6 +273,14 @@ impl ToValue for RTCPSDESType {
} }
} }
impl From<RTCPSDESType> for glib::Value {
#[inline]
fn from(v: RTCPSDESType) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive] #[non_exhaustive]
#[doc(alias = "GstRTCPType")] #[doc(alias = "GstRTCPType")]
@ -363,6 +379,14 @@ impl ToValue for RTCPType {
} }
} }
impl From<RTCPType> for glib::Value {
#[inline]
fn from(v: RTCPType) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[cfg(any(feature = "v1_16", feature = "dox"))] #[cfg(any(feature = "v1_16", feature = "dox"))]
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_16")))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_16")))]
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
@ -471,6 +495,16 @@ impl ToValue for RTCPXRType {
} }
} }
#[cfg(any(feature = "v1_16", feature = "dox"))]
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_16")))]
impl From<RTCPXRType> for glib::Value {
#[inline]
fn from(v: RTCPXRType) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive] #[non_exhaustive]
#[doc(alias = "GstRTPPayload")] #[doc(alias = "GstRTPPayload")]
@ -637,6 +671,14 @@ impl ToValue for RTPPayload {
} }
} }
impl From<RTPPayload> for glib::Value {
#[inline]
fn from(v: RTPPayload) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive] #[non_exhaustive]
#[doc(alias = "GstRTPProfile")] #[doc(alias = "GstRTPProfile")]
@ -718,3 +760,11 @@ impl ToValue for RTPProfile {
Self::static_type() Self::static_type()
} }
} }
impl From<RTPProfile> for glib::Value {
#[inline]
fn from(v: RTPProfile) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}

View file

@ -70,6 +70,14 @@ impl ToValue for RTPBufferFlags {
} }
} }
impl From<RTPBufferFlags> for glib::Value {
#[inline]
fn from(v: RTPBufferFlags) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
bitflags! { bitflags! {
#[doc(alias = "GstRTPBufferMapFlags")] #[doc(alias = "GstRTPBufferMapFlags")]
pub struct RTPBufferMapFlags: u32 { pub struct RTPBufferMapFlags: u32 {
@ -128,6 +136,14 @@ impl ToValue for RTPBufferMapFlags {
} }
} }
impl From<RTPBufferMapFlags> for glib::Value {
#[inline]
fn from(v: RTPBufferMapFlags) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[cfg(any(feature = "v1_20", feature = "dox"))] #[cfg(any(feature = "v1_20", feature = "dox"))]
bitflags! { bitflags! {
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_20")))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_20")))]
@ -208,6 +224,16 @@ impl ToValue for RTPHeaderExtensionDirection {
} }
} }
#[cfg(any(feature = "v1_20", feature = "dox"))]
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_20")))]
impl From<RTPHeaderExtensionDirection> for glib::Value {
#[inline]
fn from(v: RTPHeaderExtensionDirection) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[cfg(any(feature = "v1_20", feature = "dox"))] #[cfg(any(feature = "v1_20", feature = "dox"))]
bitflags! { bitflags! {
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_20")))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_20")))]
@ -281,3 +307,13 @@ impl ToValue for RTPHeaderExtensionFlags {
Self::static_type() Self::static_type()
} }
} }
#[cfg(any(feature = "v1_20", feature = "dox"))]
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_20")))]
impl From<RTPHeaderExtensionFlags> for glib::Value {
#[inline]
fn from(v: RTPHeaderExtensionFlags) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ e94fdc6499e4) Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3)
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362) from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ e94fdc6499e4) Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3)
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362) from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)

View file

@ -226,6 +226,14 @@ impl ToValue for RTSPPublishClockMode {
} }
} }
impl From<RTSPPublishClockMode> for glib::Value {
#[inline]
fn from(v: RTSPPublishClockMode) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive] #[non_exhaustive]
#[doc(alias = "GstRTSPSuspendMode")] #[doc(alias = "GstRTSPSuspendMode")]
@ -300,6 +308,14 @@ impl ToValue for RTSPSuspendMode {
} }
} }
impl From<RTSPSuspendMode> for glib::Value {
#[inline]
fn from(v: RTSPSuspendMode) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive] #[non_exhaustive]
#[doc(alias = "GstRTSPThreadType")] #[doc(alias = "GstRTSPThreadType")]

View file

@ -102,3 +102,11 @@ impl ToValue for RTSPTransportMode {
Self::static_type() Self::static_type()
} }
} }
impl From<RTSPTransportMode> for glib::Value {
#[inline]
fn from(v: RTSPTransportMode) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ e94fdc6499e4) Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3)
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362) from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ e94fdc6499e4) Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3)
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362) from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)

View file

@ -83,6 +83,14 @@ impl ToValue for RTSPAuthMethod {
} }
} }
impl From<RTSPAuthMethod> for glib::Value {
#[inline]
fn from(v: RTSPAuthMethod) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive] #[non_exhaustive]
#[doc(alias = "GstRTSPFamily")] #[doc(alias = "GstRTSPFamily")]
@ -157,6 +165,14 @@ impl ToValue for RTSPFamily {
} }
} }
impl From<RTSPFamily> for glib::Value {
#[inline]
fn from(v: RTSPFamily) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive] #[non_exhaustive]
#[doc(alias = "GstRTSPHeaderField")] #[doc(alias = "GstRTSPHeaderField")]
@ -579,6 +595,14 @@ impl ToValue for RTSPHeaderField {
} }
} }
impl From<RTSPHeaderField> for glib::Value {
#[inline]
fn from(v: RTSPHeaderField) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive] #[non_exhaustive]
#[doc(alias = "GstRTSPMsgType")] #[doc(alias = "GstRTSPMsgType")]
@ -665,6 +689,14 @@ impl ToValue for RTSPMsgType {
} }
} }
impl From<RTSPMsgType> for glib::Value {
#[inline]
fn from(v: RTSPMsgType) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive] #[non_exhaustive]
#[doc(alias = "GstRTSPRangeUnit")] #[doc(alias = "GstRTSPRangeUnit")]
@ -747,6 +779,14 @@ impl ToValue for RTSPRangeUnit {
} }
} }
impl From<RTSPRangeUnit> for glib::Value {
#[inline]
fn from(v: RTSPRangeUnit) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive] #[non_exhaustive]
#[doc(alias = "GstRTSPResult")] #[doc(alias = "GstRTSPResult")]
@ -881,6 +921,14 @@ impl ToValue for RTSPResult {
} }
} }
impl From<RTSPResult> for glib::Value {
#[inline]
fn from(v: RTSPResult) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive] #[non_exhaustive]
#[doc(alias = "GstRTSPState")] #[doc(alias = "GstRTSPState")]
@ -967,6 +1015,14 @@ impl ToValue for RTSPState {
} }
} }
impl From<RTSPState> for glib::Value {
#[inline]
fn from(v: RTSPState) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive] #[non_exhaustive]
#[doc(alias = "GstRTSPStatusCode")] #[doc(alias = "GstRTSPStatusCode")]
@ -1221,6 +1277,14 @@ impl ToValue for RTSPStatusCode {
} }
} }
impl From<RTSPStatusCode> for glib::Value {
#[inline]
fn from(v: RTSPStatusCode) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive] #[non_exhaustive]
#[doc(alias = "GstRTSPTimeType")] #[doc(alias = "GstRTSPTimeType")]
@ -1302,3 +1366,11 @@ impl ToValue for RTSPTimeType {
Self::static_type() Self::static_type()
} }
} }
impl From<RTSPTimeType> for glib::Value {
#[inline]
fn from(v: RTSPTimeType) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}

View file

@ -70,6 +70,14 @@ impl ToValue for RTSPEvent {
} }
} }
impl From<RTSPEvent> for glib::Value {
#[inline]
fn from(v: RTSPEvent) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
bitflags! { bitflags! {
#[doc(alias = "GstRTSPLowerTrans")] #[doc(alias = "GstRTSPLowerTrans")]
pub struct RTSPLowerTrans: u32 { pub struct RTSPLowerTrans: u32 {
@ -136,6 +144,14 @@ impl ToValue for RTSPLowerTrans {
} }
} }
impl From<RTSPLowerTrans> for glib::Value {
#[inline]
fn from(v: RTSPLowerTrans) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
bitflags! { bitflags! {
#[doc(alias = "GstRTSPMethod")] #[doc(alias = "GstRTSPMethod")]
pub struct RTSPMethod: u32 { pub struct RTSPMethod: u32 {
@ -226,6 +242,14 @@ impl ToValue for RTSPMethod {
} }
} }
impl From<RTSPMethod> for glib::Value {
#[inline]
fn from(v: RTSPMethod) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
bitflags! { bitflags! {
#[doc(alias = "GstRTSPProfile")] #[doc(alias = "GstRTSPProfile")]
pub struct RTSPProfile: u32 { pub struct RTSPProfile: u32 {
@ -290,6 +314,14 @@ impl ToValue for RTSPProfile {
} }
} }
impl From<RTSPProfile> for glib::Value {
#[inline]
fn from(v: RTSPProfile) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
bitflags! { bitflags! {
#[doc(alias = "GstRTSPTransMode")] #[doc(alias = "GstRTSPTransMode")]
pub struct RTSPTransMode: u32 { pub struct RTSPTransMode: u32 {
@ -349,3 +381,11 @@ impl ToValue for RTSPTransMode {
Self::static_type() Self::static_type()
} }
} }
impl From<RTSPTransMode> for glib::Value {
#[inline]
fn from(v: RTSPTransMode) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ e94fdc6499e4) Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3)
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362) from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ e94fdc6499e4) Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3)
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362) from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ e94fdc6499e4) Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3)
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362) from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ e94fdc6499e4) Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3)
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362) from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ e94fdc6499e4) Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3)
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362) from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)

View file

@ -132,6 +132,14 @@ impl ToValue for ReportLevel {
} }
} }
impl From<ReportLevel> for glib::Value {
#[inline]
fn from(v: ReportLevel) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive] #[non_exhaustive]
#[doc(alias = "GstValidateReportingDetails")] #[doc(alias = "GstValidateReportingDetails")]
@ -225,3 +233,11 @@ impl ToValue for ReportingDetails {
Self::static_type() Self::static_type()
} }
} }
impl From<ReportingDetails> for glib::Value {
#[inline]
fn from(v: ReportingDetails) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}

View file

@ -73,3 +73,11 @@ impl ToValue for IssueFlags {
Self::static_type() Self::static_type()
} }
} }
impl From<IssueFlags> for glib::Value {
#[inline]
fn from(v: IssueFlags) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ e94fdc6499e4) Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3)
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362) from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ e94fdc6499e4) Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3)
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362) from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)

View file

@ -81,6 +81,14 @@ impl ToValue for ColorBalanceType {
} }
} }
impl From<ColorBalanceType> for glib::Value {
#[inline]
fn from(v: ColorBalanceType) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))] #[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive] #[non_exhaustive]
@ -204,6 +212,14 @@ impl ToValue for NavigationCommand {
} }
} }
impl From<NavigationCommand> for glib::Value {
#[inline]
fn from(v: NavigationCommand) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive] #[non_exhaustive]
#[doc(alias = "GstNavigationEventType")] #[doc(alias = "GstNavigationEventType")]
@ -342,6 +358,14 @@ impl ToValue for NavigationEventType {
} }
} }
impl From<NavigationEventType> for glib::Value {
#[inline]
fn from(v: NavigationEventType) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive] #[non_exhaustive]
#[doc(alias = "GstNavigationMessageType")] #[doc(alias = "GstNavigationMessageType")]
@ -424,6 +448,14 @@ impl ToValue for NavigationMessageType {
} }
} }
impl From<NavigationMessageType> for glib::Value {
#[inline]
fn from(v: NavigationMessageType) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive] #[non_exhaustive]
#[doc(alias = "GstNavigationQueryType")] #[doc(alias = "GstNavigationQueryType")]
@ -498,6 +530,14 @@ impl ToValue for NavigationQueryType {
} }
} }
impl From<NavigationQueryType> for glib::Value {
#[inline]
fn from(v: NavigationQueryType) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[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")))]
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
@ -586,6 +626,16 @@ impl ToValue for VideoAFDSpec {
} }
} }
#[cfg(any(feature = "v1_18", feature = "dox"))]
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))]
impl From<VideoAFDSpec> for glib::Value {
#[inline]
fn from(v: VideoAFDSpec) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[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")))]
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
@ -706,6 +756,16 @@ impl ToValue for VideoAFDValue {
} }
} }
#[cfg(any(feature = "v1_18", feature = "dox"))]
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))]
impl From<VideoAFDValue> for glib::Value {
#[inline]
fn from(v: VideoAFDValue) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive] #[non_exhaustive]
#[doc(alias = "GstVideoAlphaMode")] #[doc(alias = "GstVideoAlphaMode")]
@ -780,6 +840,14 @@ impl ToValue for VideoAlphaMode {
} }
} }
impl From<VideoAlphaMode> for glib::Value {
#[inline]
fn from(v: VideoAlphaMode) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[cfg(any(feature = "v1_16", feature = "dox"))] #[cfg(any(feature = "v1_16", feature = "dox"))]
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_16")))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_16")))]
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
@ -886,6 +954,16 @@ impl ToValue for VideoCaptionType {
} }
} }
#[cfg(any(feature = "v1_16", feature = "dox"))]
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_16")))]
impl From<VideoCaptionType> for glib::Value {
#[inline]
fn from(v: VideoCaptionType) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive] #[non_exhaustive]
#[doc(alias = "GstVideoChromaMode")] #[doc(alias = "GstVideoChromaMode")]
@ -964,6 +1042,14 @@ impl ToValue for VideoChromaMode {
} }
} }
impl From<VideoChromaMode> for glib::Value {
#[inline]
fn from(v: VideoChromaMode) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive] #[non_exhaustive]
#[doc(alias = "GstVideoColorMatrix")] #[doc(alias = "GstVideoColorMatrix")]
@ -1072,6 +1158,14 @@ impl ToValue for VideoColorMatrix {
} }
} }
impl From<VideoColorMatrix> for glib::Value {
#[inline]
fn from(v: VideoColorMatrix) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive] #[non_exhaustive]
#[doc(alias = "GstVideoColorPrimaries")] #[doc(alias = "GstVideoColorPrimaries")]
@ -1239,6 +1333,14 @@ impl ToValue for VideoColorPrimaries {
} }
} }
impl From<VideoColorPrimaries> for glib::Value {
#[inline]
fn from(v: VideoColorPrimaries) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive] #[non_exhaustive]
#[doc(alias = "GstVideoDitherMethod")] #[doc(alias = "GstVideoDitherMethod")]
@ -1321,6 +1423,14 @@ impl ToValue for VideoDitherMethod {
} }
} }
impl From<VideoDitherMethod> for glib::Value {
#[inline]
fn from(v: VideoDitherMethod) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive] #[non_exhaustive]
#[doc(alias = "GstVideoFieldOrder")] #[doc(alias = "GstVideoFieldOrder")]
@ -1414,6 +1524,14 @@ impl ToValue for VideoFieldOrder {
} }
} }
impl From<VideoFieldOrder> for glib::Value {
#[inline]
fn from(v: VideoFieldOrder) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[derive(Debug, Eq, PartialEq, Hash, Clone, Copy)] #[derive(Debug, Eq, PartialEq, Hash, Clone, Copy)]
#[non_exhaustive] #[non_exhaustive]
#[doc(alias = "GstVideoFormat")] #[doc(alias = "GstVideoFormat")]
@ -2089,6 +2207,14 @@ impl ToValue for VideoFormat {
} }
} }
impl From<VideoFormat> for glib::Value {
#[inline]
fn from(v: VideoFormat) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive] #[non_exhaustive]
#[doc(alias = "GstVideoGammaMode")] #[doc(alias = "GstVideoGammaMode")]
@ -2159,6 +2285,14 @@ impl ToValue for VideoGammaMode {
} }
} }
impl From<VideoGammaMode> for glib::Value {
#[inline]
fn from(v: VideoGammaMode) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive] #[non_exhaustive]
#[doc(alias = "GstVideoInterlaceMode")] #[doc(alias = "GstVideoInterlaceMode")]
@ -2276,6 +2410,14 @@ impl ToValue for VideoInterlaceMode {
} }
} }
impl From<VideoInterlaceMode> for glib::Value {
#[inline]
fn from(v: VideoInterlaceMode) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive] #[non_exhaustive]
#[doc(alias = "GstVideoMatrixMode")] #[doc(alias = "GstVideoMatrixMode")]
@ -2354,6 +2496,14 @@ impl ToValue for VideoMatrixMode {
} }
} }
impl From<VideoMatrixMode> for glib::Value {
#[inline]
fn from(v: VideoMatrixMode) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive] #[non_exhaustive]
#[doc(alias = "GstVideoMultiviewFramePacking")] #[doc(alias = "GstVideoMultiviewFramePacking")]
@ -2460,6 +2610,14 @@ impl ToValue for VideoMultiviewFramePacking {
} }
} }
impl From<VideoMultiviewFramePacking> for glib::Value {
#[inline]
fn from(v: VideoMultiviewFramePacking) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive] #[non_exhaustive]
#[doc(alias = "GstVideoMultiviewMode")] #[doc(alias = "GstVideoMultiviewMode")]
@ -2596,6 +2754,14 @@ impl ToValue for VideoMultiviewMode {
} }
} }
impl From<VideoMultiviewMode> for glib::Value {
#[inline]
fn from(v: VideoMultiviewMode) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive] #[non_exhaustive]
#[doc(alias = "GstVideoOrientationMethod")] #[doc(alias = "GstVideoOrientationMethod")]
@ -2698,6 +2864,14 @@ impl ToValue for VideoOrientationMethod {
} }
} }
impl From<VideoOrientationMethod> for glib::Value {
#[inline]
fn from(v: VideoOrientationMethod) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive] #[non_exhaustive]
#[doc(alias = "GstVideoPrimariesMode")] #[doc(alias = "GstVideoPrimariesMode")]
@ -2772,6 +2946,14 @@ impl ToValue for VideoPrimariesMode {
} }
} }
impl From<VideoPrimariesMode> for glib::Value {
#[inline]
fn from(v: VideoPrimariesMode) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive] #[non_exhaustive]
#[doc(alias = "GstVideoResamplerMethod")] #[doc(alias = "GstVideoResamplerMethod")]
@ -2854,6 +3036,14 @@ impl ToValue for VideoResamplerMethod {
} }
} }
impl From<VideoResamplerMethod> for glib::Value {
#[inline]
fn from(v: VideoResamplerMethod) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive] #[non_exhaustive]
#[doc(alias = "GstVideoTileMode")] #[doc(alias = "GstVideoTileMode")]
@ -2932,6 +3122,14 @@ impl ToValue for VideoTileMode {
} }
} }
impl From<VideoTileMode> for glib::Value {
#[inline]
fn from(v: VideoTileMode) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive] #[non_exhaustive]
#[doc(alias = "GstVideoTransferFunction")] #[doc(alias = "GstVideoTransferFunction")]
@ -3126,3 +3324,11 @@ impl ToValue for VideoTransferFunction {
Self::static_type() Self::static_type()
} }
} }
impl From<VideoTransferFunction> for glib::Value {
#[inline]
fn from(v: VideoTransferFunction) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}

View file

@ -105,6 +105,16 @@ impl ToValue for NavigationModifierType {
} }
} }
#[cfg(any(feature = "v1_22", feature = "dox"))]
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_22")))]
impl From<NavigationModifierType> for glib::Value {
#[inline]
fn from(v: NavigationModifierType) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
bitflags! { bitflags! {
#[doc(alias = "GstVideoBufferFlags")] #[doc(alias = "GstVideoBufferFlags")]
pub struct VideoBufferFlags: u32 { pub struct VideoBufferFlags: u32 {
@ -185,6 +195,14 @@ impl ToValue for VideoBufferFlags {
} }
} }
impl From<VideoBufferFlags> for glib::Value {
#[inline]
fn from(v: VideoBufferFlags) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
bitflags! { bitflags! {
#[doc(alias = "GstVideoChromaSite")] #[doc(alias = "GstVideoChromaSite")]
pub struct VideoChromaSite: u32 { pub struct VideoChromaSite: u32 {
@ -274,6 +292,14 @@ impl ToValue for VideoChromaSite {
} }
} }
impl From<VideoChromaSite> for glib::Value {
#[inline]
fn from(v: VideoChromaSite) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
bitflags! { bitflags! {
#[doc(alias = "GstVideoCodecFrameFlags")] #[doc(alias = "GstVideoCodecFrameFlags")]
pub struct VideoCodecFrameFlags: u32 { pub struct VideoCodecFrameFlags: u32 {
@ -350,6 +376,16 @@ impl ToValue for VideoCodecFrameFlags {
} }
} }
#[cfg(any(feature = "v1_20", feature = "dox"))]
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_20")))]
impl From<VideoCodecFrameFlags> for glib::Value {
#[inline]
fn from(v: VideoCodecFrameFlags) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[cfg(any(feature = "v1_20", feature = "dox"))] #[cfg(any(feature = "v1_20", feature = "dox"))]
bitflags! { bitflags! {
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_20")))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_20")))]
@ -424,6 +460,16 @@ impl ToValue for VideoDecoderRequestSyncPointFlags {
} }
} }
#[cfg(any(feature = "v1_20", feature = "dox"))]
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_20")))]
impl From<VideoDecoderRequestSyncPointFlags> for glib::Value {
#[inline]
fn from(v: VideoDecoderRequestSyncPointFlags) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
bitflags! { bitflags! {
#[doc(alias = "GstVideoFlags")] #[doc(alias = "GstVideoFlags")]
pub struct VideoFlags: u32 { pub struct VideoFlags: u32 {
@ -484,6 +530,14 @@ impl ToValue for VideoFlags {
} }
} }
impl From<VideoFlags> for glib::Value {
#[inline]
fn from(v: VideoFlags) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
bitflags! { bitflags! {
#[doc(alias = "GstVideoFormatFlags")] #[doc(alias = "GstVideoFormatFlags")]
pub struct VideoFormatFlags: u32 { pub struct VideoFormatFlags: u32 {
@ -562,6 +616,14 @@ impl ToValue for VideoFormatFlags {
} }
} }
impl From<VideoFormatFlags> for glib::Value {
#[inline]
fn from(v: VideoFormatFlags) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
bitflags! { bitflags! {
#[doc(alias = "GstVideoFrameFlags")] #[doc(alias = "GstVideoFrameFlags")]
pub struct VideoFrameFlags: u32 { pub struct VideoFrameFlags: u32 {
@ -638,6 +700,14 @@ impl ToValue for VideoFrameFlags {
} }
} }
impl From<VideoFrameFlags> for glib::Value {
#[inline]
fn from(v: VideoFrameFlags) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
bitflags! { bitflags! {
#[doc(alias = "GstVideoMultiviewFlags")] #[doc(alias = "GstVideoMultiviewFlags")]
pub struct VideoMultiviewFlags: u32 { pub struct VideoMultiviewFlags: u32 {
@ -708,6 +778,14 @@ impl ToValue for VideoMultiviewFlags {
} }
} }
impl From<VideoMultiviewFlags> for glib::Value {
#[inline]
fn from(v: VideoMultiviewFlags) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
bitflags! { bitflags! {
#[doc(alias = "GstVideoOverlayFormatFlags")] #[doc(alias = "GstVideoOverlayFormatFlags")]
pub struct VideoOverlayFormatFlags: u32 { pub struct VideoOverlayFormatFlags: u32 {
@ -776,6 +854,16 @@ impl ToValue for VideoOverlayFormatFlags {
} }
} }
#[cfg(any(feature = "v1_16", feature = "dox"))]
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_16")))]
impl From<VideoOverlayFormatFlags> for glib::Value {
#[inline]
fn from(v: VideoOverlayFormatFlags) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
bitflags! { bitflags! {
#[doc(alias = "GstVideoPackFlags")] #[doc(alias = "GstVideoPackFlags")]
pub struct VideoPackFlags: u32 { pub struct VideoPackFlags: u32 {
@ -836,6 +924,14 @@ impl ToValue for VideoPackFlags {
} }
} }
impl From<VideoPackFlags> for glib::Value {
#[inline]
fn from(v: VideoPackFlags) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
bitflags! { bitflags! {
#[doc(alias = "GstVideoTimeCodeFlags")] #[doc(alias = "GstVideoTimeCodeFlags")]
pub struct VideoTimeCodeFlags: u32 { pub struct VideoTimeCodeFlags: u32 {
@ -903,3 +999,13 @@ impl ToValue for VideoTimeCodeFlags {
Self::static_type() Self::static_type()
} }
} }
#[cfg(any(feature = "v1_18", feature = "dox"))]
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))]
impl From<VideoTimeCodeFlags> for glib::Value {
#[inline]
fn from(v: VideoTimeCodeFlags) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ e94fdc6499e4) Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3)
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362) from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ e94fdc6499e4) Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3)
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362) from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)

View file

@ -109,6 +109,16 @@ impl ToValue for WebRTCBundlePolicy {
} }
} }
#[cfg(any(feature = "v1_16", feature = "dox"))]
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_16")))]
impl From<WebRTCBundlePolicy> for glib::Value {
#[inline]
fn from(v: WebRTCBundlePolicy) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive] #[non_exhaustive]
#[doc(alias = "GstWebRTCDTLSSetup")] #[doc(alias = "GstWebRTCDTLSSetup")]
@ -187,6 +197,14 @@ impl ToValue for WebRTCDTLSSetup {
} }
} }
impl From<WebRTCDTLSSetup> for glib::Value {
#[inline]
fn from(v: WebRTCDTLSSetup) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive] #[non_exhaustive]
#[doc(alias = "GstWebRTCDTLSTransportState")] #[doc(alias = "GstWebRTCDTLSTransportState")]
@ -269,6 +287,14 @@ impl ToValue for WebRTCDTLSTransportState {
} }
} }
impl From<WebRTCDTLSTransportState> for glib::Value {
#[inline]
fn from(v: WebRTCDTLSTransportState) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[cfg(any(feature = "v1_16", feature = "dox"))] #[cfg(any(feature = "v1_16", feature = "dox"))]
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_16")))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_16")))]
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
@ -361,6 +387,16 @@ impl ToValue for WebRTCDataChannelState {
} }
} }
#[cfg(any(feature = "v1_16", feature = "dox"))]
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_16")))]
impl From<WebRTCDataChannelState> for glib::Value {
#[inline]
fn from(v: WebRTCDataChannelState) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[cfg(any(feature = "v1_20", feature = "dox"))] #[cfg(any(feature = "v1_20", feature = "dox"))]
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_20")))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_20")))]
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
@ -529,6 +565,16 @@ impl ToValue for WebRTCError {
} }
} }
#[cfg(any(feature = "v1_20", feature = "dox"))]
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_20")))]
impl From<WebRTCError> for glib::Value {
#[inline]
fn from(v: WebRTCError) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[cfg(any(feature = "v1_14_1", feature = "dox"))] #[cfg(any(feature = "v1_14_1", feature = "dox"))]
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_14_1")))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_14_1")))]
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
@ -613,6 +659,16 @@ impl ToValue for WebRTCFECType {
} }
} }
#[cfg(any(feature = "v1_14_1", feature = "dox"))]
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_14_1")))]
impl From<WebRTCFECType> for glib::Value {
#[inline]
fn from(v: WebRTCFECType) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive] #[non_exhaustive]
#[doc(alias = "GstWebRTCICEComponent")] #[doc(alias = "GstWebRTCICEComponent")]
@ -683,6 +739,14 @@ impl ToValue for WebRTCICEComponent {
} }
} }
impl From<WebRTCICEComponent> for glib::Value {
#[inline]
fn from(v: WebRTCICEComponent) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive] #[non_exhaustive]
#[doc(alias = "GstWebRTCICEConnectionState")] #[doc(alias = "GstWebRTCICEConnectionState")]
@ -773,6 +837,14 @@ impl ToValue for WebRTCICEConnectionState {
} }
} }
impl From<WebRTCICEConnectionState> for glib::Value {
#[inline]
fn from(v: WebRTCICEConnectionState) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive] #[non_exhaustive]
#[doc(alias = "GstWebRTCICEGatheringState")] #[doc(alias = "GstWebRTCICEGatheringState")]
@ -847,6 +919,14 @@ impl ToValue for WebRTCICEGatheringState {
} }
} }
impl From<WebRTCICEGatheringState> for glib::Value {
#[inline]
fn from(v: WebRTCICEGatheringState) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive] #[non_exhaustive]
#[doc(alias = "GstWebRTCICERole")] #[doc(alias = "GstWebRTCICERole")]
@ -917,6 +997,14 @@ impl ToValue for WebRTCICERole {
} }
} }
impl From<WebRTCICERole> for glib::Value {
#[inline]
fn from(v: WebRTCICERole) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[cfg(any(feature = "v1_16", feature = "dox"))] #[cfg(any(feature = "v1_16", feature = "dox"))]
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_16")))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_16")))]
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
@ -1001,6 +1089,16 @@ impl ToValue for WebRTCICETransportPolicy {
} }
} }
#[cfg(any(feature = "v1_16", feature = "dox"))]
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_16")))]
impl From<WebRTCICETransportPolicy> for glib::Value {
#[inline]
fn from(v: WebRTCICETransportPolicy) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[cfg(any(feature = "v1_20", feature = "dox"))] #[cfg(any(feature = "v1_20", feature = "dox"))]
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_20")))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_20")))]
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
@ -1089,6 +1187,16 @@ impl ToValue for WebRTCKind {
} }
} }
#[cfg(any(feature = "v1_20", feature = "dox"))]
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_20")))]
impl From<WebRTCKind> for glib::Value {
#[inline]
fn from(v: WebRTCKind) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive] #[non_exhaustive]
#[doc(alias = "GstWebRTCPeerConnectionState")] #[doc(alias = "GstWebRTCPeerConnectionState")]
@ -1175,6 +1283,14 @@ impl ToValue for WebRTCPeerConnectionState {
} }
} }
impl From<WebRTCPeerConnectionState> for glib::Value {
#[inline]
fn from(v: WebRTCPeerConnectionState) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[cfg(any(feature = "v1_16", feature = "dox"))] #[cfg(any(feature = "v1_16", feature = "dox"))]
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_16")))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_16")))]
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
@ -1267,6 +1383,16 @@ impl ToValue for WebRTCPriorityType {
} }
} }
#[cfg(any(feature = "v1_16", feature = "dox"))]
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_16")))]
impl From<WebRTCPriorityType> for glib::Value {
#[inline]
fn from(v: WebRTCPriorityType) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive] #[non_exhaustive]
#[doc(alias = "GstWebRTCRTPTransceiverDirection")] #[doc(alias = "GstWebRTCRTPTransceiverDirection")]
@ -1349,6 +1475,14 @@ impl ToValue for WebRTCRTPTransceiverDirection {
} }
} }
impl From<WebRTCRTPTransceiverDirection> for glib::Value {
#[inline]
fn from(v: WebRTCRTPTransceiverDirection) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[cfg(any(feature = "v1_16", feature = "dox"))] #[cfg(any(feature = "v1_16", feature = "dox"))]
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_16")))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_16")))]
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
@ -1441,6 +1575,16 @@ impl ToValue for WebRTCSCTPTransportState {
} }
} }
#[cfg(any(feature = "v1_16", feature = "dox"))]
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_16")))]
impl From<WebRTCSCTPTransportState> for glib::Value {
#[inline]
fn from(v: WebRTCSCTPTransportState) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive] #[non_exhaustive]
#[doc(alias = "GstWebRTCSDPType")] #[doc(alias = "GstWebRTCSDPType")]
@ -1540,6 +1684,14 @@ impl ToValue for WebRTCSDPType {
} }
} }
impl From<WebRTCSDPType> for glib::Value {
#[inline]
fn from(v: WebRTCSDPType) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive] #[non_exhaustive]
#[doc(alias = "GstWebRTCSignalingState")] #[doc(alias = "GstWebRTCSignalingState")]
@ -1626,6 +1778,14 @@ impl ToValue for WebRTCSignalingState {
} }
} }
impl From<WebRTCSignalingState> for glib::Value {
#[inline]
fn from(v: WebRTCSignalingState) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive] #[non_exhaustive]
#[doc(alias = "GstWebRTCStatsType")] #[doc(alias = "GstWebRTCStatsType")]
@ -1743,3 +1903,11 @@ impl ToValue for WebRTCStatsType {
Self::static_type() Self::static_type()
} }
} }
impl From<WebRTCStatsType> for glib::Value {
#[inline]
fn from(v: WebRTCStatsType) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ e94fdc6499e4) Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3)
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362) from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ e94fdc6499e4) Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3)
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362) from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)

View file

@ -92,6 +92,14 @@ impl ToValue for BufferingMode {
} }
} }
impl From<BufferingMode> for glib::Value {
#[inline]
fn from(v: BufferingMode) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive] #[non_exhaustive]
#[doc(alias = "GstBusSyncReply")] #[doc(alias = "GstBusSyncReply")]
@ -166,6 +174,14 @@ impl ToValue for BusSyncReply {
} }
} }
impl From<BusSyncReply> for glib::Value {
#[inline]
fn from(v: BusSyncReply) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive] #[non_exhaustive]
#[doc(alias = "GstCapsIntersectMode")] #[doc(alias = "GstCapsIntersectMode")]
@ -236,6 +252,14 @@ impl ToValue for CapsIntersectMode {
} }
} }
impl From<CapsIntersectMode> for glib::Value {
#[inline]
fn from(v: CapsIntersectMode) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive] #[non_exhaustive]
#[doc(alias = "GstClockEntryType")] #[doc(alias = "GstClockEntryType")]
@ -306,6 +330,14 @@ impl ToValue for ClockEntryType {
} }
} }
impl From<ClockEntryType> for glib::Value {
#[inline]
fn from(v: ClockEntryType) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[must_use] #[must_use]
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive] #[non_exhaustive]
@ -401,6 +433,14 @@ impl ToValue for ClockReturn {
} }
} }
impl From<ClockReturn> for glib::Value {
#[inline]
fn from(v: ClockReturn) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive] #[non_exhaustive]
#[doc(alias = "GstClockType")] #[doc(alias = "GstClockType")]
@ -483,6 +523,14 @@ impl ToValue for ClockType {
} }
} }
impl From<ClockType> for glib::Value {
#[inline]
fn from(v: ClockType) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive] #[non_exhaustive]
#[doc(alias = "GstCoreError")] #[doc(alias = "GstCoreError")]
@ -634,6 +682,14 @@ impl ToValue for CoreError {
} }
} }
impl From<CoreError> for glib::Value {
#[inline]
fn from(v: CoreError) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive] #[non_exhaustive]
#[doc(alias = "GstDebugLevel")] #[doc(alias = "GstDebugLevel")]
@ -753,6 +809,14 @@ impl ToValue for DebugLevel {
} }
} }
impl From<DebugLevel> for glib::Value {
#[inline]
fn from(v: DebugLevel) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[derive(Debug, PartialEq, Eq, Hash, Clone, Copy)] #[derive(Debug, PartialEq, Eq, Hash, Clone, Copy)]
#[non_exhaustive] #[non_exhaustive]
#[doc(alias = "GstEventType")] #[doc(alias = "GstEventType")]
@ -985,6 +1049,14 @@ impl ToValue for EventType {
} }
} }
impl From<EventType> for glib::Value {
#[inline]
fn from(v: EventType) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[must_use] #[must_use]
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive] #[non_exhaustive]
@ -1100,6 +1172,14 @@ impl ToValue for FlowReturn {
} }
} }
impl From<FlowReturn> for glib::Value {
#[inline]
fn from(v: FlowReturn) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))] #[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
#[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash, Clone, Copy)] #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash, Clone, Copy)]
#[non_exhaustive] #[non_exhaustive]
@ -1220,6 +1300,14 @@ impl ToValue for Format {
} }
} }
impl From<Format> for glib::Value {
#[inline]
fn from(v: Format) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive] #[non_exhaustive]
#[doc(alias = "GstLibraryError")] #[doc(alias = "GstLibraryError")]
@ -1331,6 +1419,14 @@ impl ToValue for LibraryError {
} }
} }
impl From<LibraryError> for glib::Value {
#[inline]
fn from(v: LibraryError) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))] #[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
#[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash, Clone, Copy)] #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash, Clone, Copy)]
#[non_exhaustive] #[non_exhaustive]
@ -1406,6 +1502,14 @@ impl ToValue for PadDirection {
} }
} }
impl From<PadDirection> for glib::Value {
#[inline]
fn from(v: PadDirection) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[must_use] #[must_use]
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive] #[non_exhaustive]
@ -1497,6 +1601,14 @@ impl ToValue for PadLinkReturn {
} }
} }
impl From<PadLinkReturn> for glib::Value {
#[inline]
fn from(v: PadLinkReturn) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive] #[non_exhaustive]
#[doc(alias = "GstPadMode")] #[doc(alias = "GstPadMode")]
@ -1592,6 +1704,14 @@ impl ToValue for PadMode {
} }
} }
impl From<PadMode> for glib::Value {
#[inline]
fn from(v: PadMode) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))] #[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
#[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash, Clone, Copy)] #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash, Clone, Copy)]
#[non_exhaustive] #[non_exhaustive]
@ -1667,6 +1787,14 @@ impl ToValue for PadPresence {
} }
} }
impl From<PadPresence> for glib::Value {
#[inline]
fn from(v: PadPresence) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive] #[non_exhaustive]
#[doc(alias = "GstPadProbeReturn")] #[doc(alias = "GstPadProbeReturn")]
@ -1749,6 +1877,14 @@ impl ToValue for PadProbeReturn {
} }
} }
impl From<PadProbeReturn> for glib::Value {
#[inline]
fn from(v: PadProbeReturn) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive] #[non_exhaustive]
#[doc(alias = "GstParseError")] #[doc(alias = "GstParseError")]
@ -1870,6 +2006,14 @@ impl ToValue for ParseError {
} }
} }
impl From<ParseError> for glib::Value {
#[inline]
fn from(v: ParseError) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive] #[non_exhaustive]
#[doc(alias = "GstPluginError")] #[doc(alias = "GstPluginError")]
@ -1966,6 +2110,14 @@ impl ToValue for PluginError {
} }
} }
impl From<PluginError> for glib::Value {
#[inline]
fn from(v: PluginError) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive] #[non_exhaustive]
#[doc(alias = "GstProgressType")] #[doc(alias = "GstProgressType")]
@ -2048,6 +2200,14 @@ impl ToValue for ProgressType {
} }
} }
impl From<ProgressType> for glib::Value {
#[inline]
fn from(v: ProgressType) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive] #[non_exhaustive]
#[doc(alias = "GstPromiseResult")] #[doc(alias = "GstPromiseResult")]
@ -2126,6 +2286,14 @@ impl ToValue for PromiseResult {
} }
} }
impl From<PromiseResult> for glib::Value {
#[inline]
fn from(v: PromiseResult) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive] #[non_exhaustive]
#[doc(alias = "GstQOSType")] #[doc(alias = "GstQOSType")]
@ -2200,6 +2368,14 @@ impl ToValue for QOSType {
} }
} }
impl From<QOSType> for glib::Value {
#[inline]
fn from(v: QOSType) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))] #[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
#[derive(Debug, Clone, Copy)] #[derive(Debug, Clone, Copy)]
#[non_exhaustive] #[non_exhaustive]
@ -2279,6 +2455,14 @@ impl ToValue for Rank {
} }
} }
impl From<Rank> for glib::Value {
#[inline]
fn from(v: Rank) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive] #[non_exhaustive]
#[doc(alias = "GstResourceError")] #[doc(alias = "GstResourceError")]
@ -2435,6 +2619,14 @@ impl ToValue for ResourceError {
} }
} }
impl From<ResourceError> for glib::Value {
#[inline]
fn from(v: ResourceError) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive] #[non_exhaustive]
#[doc(alias = "GstSeekType")] #[doc(alias = "GstSeekType")]
@ -2509,6 +2701,14 @@ impl ToValue for SeekType {
} }
} }
impl From<SeekType> for glib::Value {
#[inline]
fn from(v: SeekType) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))] #[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
#[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash, Clone, Copy)] #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash, Clone, Copy)]
#[non_exhaustive] #[non_exhaustive]
@ -2592,6 +2792,14 @@ impl ToValue for State {
} }
} }
impl From<State> for glib::Value {
#[inline]
fn from(v: State) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive] #[non_exhaustive]
#[doc(alias = "GstStateChange")] #[doc(alias = "GstStateChange")]
@ -2715,6 +2923,14 @@ impl ToValue for StateChange {
} }
} }
impl From<StateChange> for glib::Value {
#[inline]
fn from(v: StateChange) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[must_use] #[must_use]
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive] #[non_exhaustive]
@ -2794,6 +3010,14 @@ impl ToValue for StateChangeReturn {
} }
} }
impl From<StateChangeReturn> for glib::Value {
#[inline]
fn from(v: StateChangeReturn) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive] #[non_exhaustive]
#[doc(alias = "GstStreamError")] #[doc(alias = "GstStreamError")]
@ -2940,6 +3164,14 @@ impl ToValue for StreamError {
} }
} }
impl From<StreamError> for glib::Value {
#[inline]
fn from(v: StreamError) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive] #[non_exhaustive]
#[doc(alias = "GstStreamStatusType")] #[doc(alias = "GstStreamStatusType")]
@ -3030,6 +3262,14 @@ impl ToValue for StreamStatusType {
} }
} }
impl From<StreamStatusType> for glib::Value {
#[inline]
fn from(v: StreamStatusType) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive] #[non_exhaustive]
#[doc(alias = "GstStructureChangeType")] #[doc(alias = "GstStructureChangeType")]
@ -3100,6 +3340,14 @@ impl ToValue for StructureChangeType {
} }
} }
impl From<StructureChangeType> for glib::Value {
#[inline]
fn from(v: StructureChangeType) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive] #[non_exhaustive]
#[doc(alias = "GstTagFlag")] #[doc(alias = "GstTagFlag")]
@ -3178,6 +3426,14 @@ impl ToValue for TagFlag {
} }
} }
impl From<TagFlag> for glib::Value {
#[inline]
fn from(v: TagFlag) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive] #[non_exhaustive]
#[doc(alias = "GstTagMergeMode")] #[doc(alias = "GstTagMergeMode")]
@ -3268,6 +3524,14 @@ impl ToValue for TagMergeMode {
} }
} }
impl From<TagMergeMode> for glib::Value {
#[inline]
fn from(v: TagMergeMode) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))] #[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
#[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash, Clone, Copy)] #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash, Clone, Copy)]
#[non_exhaustive] #[non_exhaustive]
@ -3339,6 +3603,14 @@ impl ToValue for TagScope {
} }
} }
impl From<TagScope> for glib::Value {
#[inline]
fn from(v: TagScope) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive] #[non_exhaustive]
#[doc(alias = "GstTaskState")] #[doc(alias = "GstTaskState")]
@ -3413,6 +3685,14 @@ impl ToValue for TaskState {
} }
} }
impl From<TaskState> for glib::Value {
#[inline]
fn from(v: TaskState) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))] #[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
#[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash, Clone, Copy)] #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash, Clone, Copy)]
#[non_exhaustive] #[non_exhaustive]
@ -3518,6 +3798,14 @@ impl ToValue for TocEntryType {
} }
} }
impl From<TocEntryType> for glib::Value {
#[inline]
fn from(v: TocEntryType) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))] #[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
#[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash, Clone, Copy)] #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash, Clone, Copy)]
#[non_exhaustive] #[non_exhaustive]
@ -3597,6 +3885,14 @@ impl ToValue for TocLoopType {
} }
} }
impl From<TocLoopType> for glib::Value {
#[inline]
fn from(v: TocLoopType) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))] #[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
#[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash, Clone, Copy)] #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash, Clone, Copy)]
#[non_exhaustive] #[non_exhaustive]
@ -3668,6 +3964,14 @@ impl ToValue for TocScope {
} }
} }
impl From<TocScope> for glib::Value {
#[inline]
fn from(v: TocScope) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[derive(Debug, Clone, Copy)] #[derive(Debug, Clone, Copy)]
#[non_exhaustive] #[non_exhaustive]
#[doc(alias = "GstTypeFindProbability")] #[doc(alias = "GstTypeFindProbability")]
@ -3754,6 +4058,14 @@ impl ToValue for TypeFindProbability {
} }
} }
impl From<TypeFindProbability> for glib::Value {
#[inline]
fn from(v: TypeFindProbability) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive] #[non_exhaustive]
#[doc(alias = "GstURIError")] #[doc(alias = "GstURIError")]
@ -3855,6 +4167,14 @@ impl ToValue for URIError {
} }
} }
impl From<URIError> for glib::Value {
#[inline]
fn from(v: URIError) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))] #[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
#[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash, Clone, Copy)] #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash, Clone, Copy)]
#[non_exhaustive] #[non_exhaustive]
@ -3929,3 +4249,11 @@ impl ToValue for URIType {
Self::static_type() Self::static_type()
} }
} }
impl From<URIType> for glib::Value {
#[inline]
fn from(v: URIType) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}

View file

@ -72,6 +72,14 @@ impl ToValue for BinFlags {
} }
} }
impl From<BinFlags> for glib::Value {
#[inline]
fn from(v: BinFlags) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
bitflags! { bitflags! {
#[doc(alias = "GstBufferCopyFlags")] #[doc(alias = "GstBufferCopyFlags")]
pub struct BufferCopyFlags: u32 { pub struct BufferCopyFlags: u32 {
@ -140,6 +148,14 @@ impl ToValue for BufferCopyFlags {
} }
} }
impl From<BufferCopyFlags> for glib::Value {
#[inline]
fn from(v: BufferCopyFlags) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
bitflags! { bitflags! {
#[doc(alias = "GstBufferFlags")] #[doc(alias = "GstBufferFlags")]
pub struct BufferFlags: u32 { pub struct BufferFlags: u32 {
@ -222,6 +238,14 @@ impl ToValue for BufferFlags {
} }
} }
impl From<BufferFlags> for glib::Value {
#[inline]
fn from(v: BufferFlags) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
bitflags! { bitflags! {
#[doc(alias = "GstBufferPoolAcquireFlags")] #[doc(alias = "GstBufferPoolAcquireFlags")]
pub struct BufferPoolAcquireFlags: u32 { pub struct BufferPoolAcquireFlags: u32 {
@ -284,6 +308,14 @@ impl ToValue for BufferPoolAcquireFlags {
} }
} }
impl From<BufferPoolAcquireFlags> for glib::Value {
#[inline]
fn from(v: BufferPoolAcquireFlags) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
bitflags! { bitflags! {
#[doc(alias = "GstClockFlags")] #[doc(alias = "GstClockFlags")]
pub struct ClockFlags: u32 { pub struct ClockFlags: u32 {
@ -354,6 +386,14 @@ impl ToValue for ClockFlags {
} }
} }
impl From<ClockFlags> for glib::Value {
#[inline]
fn from(v: ClockFlags) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
bitflags! { bitflags! {
#[doc(alias = "GstDebugColorFlags")] #[doc(alias = "GstDebugColorFlags")]
pub struct DebugColorFlags: u32 { pub struct DebugColorFlags: u32 {
@ -446,6 +486,14 @@ impl ToValue for DebugColorFlags {
} }
} }
impl From<DebugColorFlags> for glib::Value {
#[inline]
fn from(v: DebugColorFlags) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
bitflags! { bitflags! {
#[doc(alias = "GstDebugGraphDetails")] #[doc(alias = "GstDebugGraphDetails")]
pub struct DebugGraphDetails: u32 { pub struct DebugGraphDetails: u32 {
@ -516,6 +564,14 @@ impl ToValue for DebugGraphDetails {
} }
} }
impl From<DebugGraphDetails> for glib::Value {
#[inline]
fn from(v: DebugGraphDetails) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
bitflags! { bitflags! {
#[doc(alias = "GstElementFlags")] #[doc(alias = "GstElementFlags")]
pub struct ElementFlags: u32 { pub struct ElementFlags: u32 {
@ -584,6 +640,14 @@ impl ToValue for ElementFlags {
} }
} }
impl From<ElementFlags> for glib::Value {
#[inline]
fn from(v: ElementFlags) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
bitflags! { bitflags! {
#[doc(alias = "GstEventTypeFlags")] #[doc(alias = "GstEventTypeFlags")]
pub struct EventTypeFlags: u32 { pub struct EventTypeFlags: u32 {
@ -650,6 +714,14 @@ impl ToValue for EventTypeFlags {
} }
} }
impl From<EventTypeFlags> for glib::Value {
#[inline]
fn from(v: EventTypeFlags) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[cfg(any(feature = "v1_20", feature = "dox"))] #[cfg(any(feature = "v1_20", feature = "dox"))]
bitflags! { bitflags! {
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_20")))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_20")))]
@ -722,6 +794,16 @@ impl ToValue for GapFlags {
} }
} }
#[cfg(any(feature = "v1_20", feature = "dox"))]
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_20")))]
impl From<GapFlags> for glib::Value {
#[inline]
fn from(v: GapFlags) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
bitflags! { bitflags! {
#[doc(alias = "GstMemoryFlags")] #[doc(alias = "GstMemoryFlags")]
pub struct MemoryFlags: u32 { pub struct MemoryFlags: u32 {
@ -790,6 +872,14 @@ impl ToValue for MemoryFlags {
} }
} }
impl From<MemoryFlags> for glib::Value {
#[inline]
fn from(v: MemoryFlags) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
bitflags! { bitflags! {
#[doc(alias = "GstMetaFlags")] #[doc(alias = "GstMetaFlags")]
pub struct MetaFlags: u32 { pub struct MetaFlags: u32 {
@ -852,6 +942,14 @@ impl ToValue for MetaFlags {
} }
} }
impl From<MetaFlags> for glib::Value {
#[inline]
fn from(v: MetaFlags) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
bitflags! { bitflags! {
#[doc(alias = "GstObjectFlags")] #[doc(alias = "GstObjectFlags")]
pub struct ObjectFlags: u32 { pub struct ObjectFlags: u32 {
@ -910,6 +1008,14 @@ impl ToValue for ObjectFlags {
} }
} }
impl From<ObjectFlags> for glib::Value {
#[inline]
fn from(v: ObjectFlags) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
bitflags! { bitflags! {
#[doc(alias = "GstPadFlags")] #[doc(alias = "GstPadFlags")]
pub struct PadFlags: u32 { pub struct PadFlags: u32 {
@ -992,6 +1098,14 @@ impl ToValue for PadFlags {
} }
} }
impl From<PadFlags> for glib::Value {
#[inline]
fn from(v: PadFlags) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
bitflags! { bitflags! {
#[doc(alias = "GstPadLinkCheck")] #[doc(alias = "GstPadLinkCheck")]
pub struct PadLinkCheck: u32 { pub struct PadLinkCheck: u32 {
@ -1058,6 +1172,14 @@ impl ToValue for PadLinkCheck {
} }
} }
impl From<PadLinkCheck> for glib::Value {
#[inline]
fn from(v: PadLinkCheck) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
bitflags! { bitflags! {
#[doc(alias = "GstPadProbeType")] #[doc(alias = "GstPadProbeType")]
pub struct PadProbeType: u32 { pub struct PadProbeType: u32 {
@ -1156,6 +1278,14 @@ impl ToValue for PadProbeType {
} }
} }
impl From<PadProbeType> for glib::Value {
#[inline]
fn from(v: PadProbeType) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
bitflags! { bitflags! {
#[doc(alias = "GstParseFlags")] #[doc(alias = "GstParseFlags")]
pub struct ParseFlags: u32 { pub struct ParseFlags: u32 {
@ -1218,6 +1348,14 @@ impl ToValue for ParseFlags {
} }
} }
impl From<ParseFlags> for glib::Value {
#[inline]
fn from(v: ParseFlags) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
bitflags! { bitflags! {
#[doc(alias = "GstPipelineFlags")] #[doc(alias = "GstPipelineFlags")]
pub struct PipelineFlags: u32 { pub struct PipelineFlags: u32 {
@ -1276,6 +1414,14 @@ impl ToValue for PipelineFlags {
} }
} }
impl From<PipelineFlags> for glib::Value {
#[inline]
fn from(v: PipelineFlags) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg(any(feature = "v1_18", feature = "dox"))]
bitflags! { bitflags! {
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))]
@ -1348,6 +1494,16 @@ impl ToValue for PluginAPIFlags {
} }
} }
#[cfg(any(feature = "v1_18", feature = "dox"))]
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))]
impl From<PluginAPIFlags> for glib::Value {
#[inline]
fn from(v: PluginAPIFlags) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
bitflags! { bitflags! {
#[doc(alias = "GstPluginDependencyFlags")] #[doc(alias = "GstPluginDependencyFlags")]
pub struct PluginDependencyFlags: u32 { pub struct PluginDependencyFlags: u32 {
@ -1414,6 +1570,14 @@ impl ToValue for PluginDependencyFlags {
} }
} }
impl From<PluginDependencyFlags> for glib::Value {
#[inline]
fn from(v: PluginDependencyFlags) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
bitflags! { bitflags! {
#[doc(alias = "GstPluginFlags")] #[doc(alias = "GstPluginFlags")]
pub struct PluginFlags: u32 { pub struct PluginFlags: u32 {
@ -1474,6 +1638,14 @@ impl ToValue for PluginFlags {
} }
} }
impl From<PluginFlags> for glib::Value {
#[inline]
fn from(v: PluginFlags) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
bitflags! { bitflags! {
#[doc(alias = "GstSchedulingFlags")] #[doc(alias = "GstSchedulingFlags")]
pub struct SchedulingFlags: u32 { pub struct SchedulingFlags: u32 {
@ -1536,6 +1708,14 @@ impl ToValue for SchedulingFlags {
} }
} }
impl From<SchedulingFlags> for glib::Value {
#[inline]
fn from(v: SchedulingFlags) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
bitflags! { bitflags! {
#[doc(alias = "GstSeekFlags")] #[doc(alias = "GstSeekFlags")]
pub struct SeekFlags: u32 { pub struct SeekFlags: u32 {
@ -1622,6 +1802,14 @@ impl ToValue for SeekFlags {
} }
} }
impl From<SeekFlags> for glib::Value {
#[inline]
fn from(v: SeekFlags) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
bitflags! { bitflags! {
#[doc(alias = "GstSegmentFlags")] #[doc(alias = "GstSegmentFlags")]
pub struct SegmentFlags: u32 { pub struct SegmentFlags: u32 {
@ -1694,6 +1882,14 @@ impl ToValue for SegmentFlags {
} }
} }
impl From<SegmentFlags> for glib::Value {
#[inline]
fn from(v: SegmentFlags) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[cfg(any(feature = "v1_20", feature = "dox"))] #[cfg(any(feature = "v1_20", feature = "dox"))]
bitflags! { bitflags! {
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_20")))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_20")))]
@ -1768,6 +1964,16 @@ impl ToValue for SerializeFlags {
} }
} }
#[cfg(any(feature = "v1_20", feature = "dox"))]
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_20")))]
impl From<SerializeFlags> for glib::Value {
#[inline]
fn from(v: SerializeFlags) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
bitflags! { bitflags! {
#[doc(alias = "GstStackTraceFlags")] #[doc(alias = "GstStackTraceFlags")]
pub struct StackTraceFlags: u32 { pub struct StackTraceFlags: u32 {
@ -1826,6 +2032,14 @@ impl ToValue for StackTraceFlags {
} }
} }
impl From<StackTraceFlags> for glib::Value {
#[inline]
fn from(v: StackTraceFlags) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
bitflags! { bitflags! {
#[doc(alias = "GstStreamFlags")] #[doc(alias = "GstStreamFlags")]
pub struct StreamFlags: u32 { pub struct StreamFlags: u32 {
@ -1888,6 +2102,14 @@ impl ToValue for StreamFlags {
} }
} }
impl From<StreamFlags> for glib::Value {
#[inline]
fn from(v: StreamFlags) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
bitflags! { bitflags! {
#[doc(alias = "GstStreamType")] #[doc(alias = "GstStreamType")]
pub struct StreamType: u32 { pub struct StreamType: u32 {
@ -1974,3 +2196,11 @@ impl ToValue for StreamType {
Self::static_type() Self::static_type()
} }
} }
impl From<StreamType> for glib::Value {
#[inline]
fn from(v: StreamType) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ e94fdc6499e4) Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3)
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362) from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ e94fdc6499e4) Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3)
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362) from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)