Commit 3c900e61 authored by Sebastian Dröge's avatar Sebastian Dröge 🍵

Regenerate with latest gir

parent 06bd23f8
......@@ -50,11 +50,9 @@ generate = [
"Gst.ChildProxy",
"Gst.TagSetter",
"Gst.QOSType",
"Gst.EventType",
"Gst.TocSetter",
"Gst.ClockType",
"Gst.ElementFlags",
"Gst.Rank",
"Gst.PadLinkCheck",
"Gst.DebugLevel",
"Gst.DebugColorFlags",
......@@ -64,7 +62,6 @@ generate = [
"Gst.TaskState",
"Gst.PluginDependencyFlags",
"Gst.DateTime",
"Gst.TypeFindProbability",
"Gst.BufferPoolAcquireFlags",
"Gst.PromiseResult",
]
......@@ -156,6 +153,8 @@ status = "generate"
[[object.derive]]
name = "Serialize, Deserialize"
cfg_condition = "feature = \"ser_de\""
[[object.derive]]
name = "Debug, PartialEq, Eq, PartialOrd, Ord, Hash"
[[object]]
name = "Gst.SegmentFlags"
......@@ -170,6 +169,8 @@ status = "generate"
[[object.derive]]
name = "Serialize, Deserialize"
cfg_condition = "feature = \"ser_de\""
[[object.derive]]
name = "Debug, PartialEq, Eq, PartialOrd, Ord, Hash"
[[object]]
name = "Gst.TocEntryType"
......@@ -177,6 +178,8 @@ status = "generate"
[[object.derive]]
name = "Serialize, Deserialize"
cfg_condition = "feature = \"ser_de\""
[[object.derive]]
name = "Debug, PartialEq, Eq, PartialOrd, Ord, Hash"
[[object]]
name = "Gst.TocLoopType"
......@@ -184,6 +187,26 @@ status = "generate"
[[object.derive]]
name = "Serialize, Deserialize"
cfg_condition = "feature = \"ser_de\""
[[object.derive]]
name = "Debug, PartialEq, Eq, PartialOrd, Ord, Hash"
[[object]]
name = "Gst.Rank"
status = "generate"
[[object.derive]]
name = "Debug, PartialEq, Eq, Hash"
[[object]]
name = "Gst.TypeFindProbability"
status = "generate"
[[object.derive]]
name = "Debug, PartialEq, Eq, Hash"
[[object]]
name = "Gst.EventType"
status = "generate"
[[object.derive]]
name = "Debug, PartialEq, Eq, Hash"
[[object]]
name = "Gst.Structure"
......
......@@ -12,7 +12,8 @@ use glib::value::SetValue;
use glib::value::Value;
use gobject_ffi;
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)]
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash)]
#[derive(Clone, Copy)]
pub enum AppStreamType {
Stream,
Seekable,
......
Generated by gir (https://github.com/gtk-rs/gir @ bec7561)
Generated by gir (https://github.com/gtk-rs/gir @ 04c26a8)
from gir-files (https://github.com/gtk-rs/gir-files @ ???)
......@@ -12,6 +12,7 @@ use std::mem;
use std::ptr;
glib_wrapper! {
#[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)]
pub struct AudioStreamAlign(Boxed<ffi::GstAudioStreamAlign>);
match fn {
......
......@@ -12,7 +12,8 @@ use glib::value::SetValue;
use glib::value::Value;
use gobject_ffi;
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)]
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash)]
#[derive(Clone, Copy)]
pub enum AudioChannelPosition {
None,
Mono,
......@@ -156,7 +157,8 @@ impl SetValue for AudioChannelPosition {
}
}
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)]
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash)]
#[derive(Clone, Copy)]
pub enum AudioFormat {
Unknown,
Encoded,
......@@ -303,7 +305,8 @@ impl SetValue for AudioFormat {
}
}
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)]
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash)]
#[derive(Clone, Copy)]
pub enum AudioLayout {
Interleaved,
NonInterleaved,
......@@ -360,7 +363,8 @@ impl SetValue for AudioLayout {
}
}
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)]
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash)]
#[derive(Clone, Copy)]
pub enum StreamVolumeFormat {
Linear,
Cubic,
......
Generated by gir (https://github.com/gtk-rs/gir @ bec7561)
Generated by gir (https://github.com/gtk-rs/gir @ 04c26a8)
from gir-files (https://github.com/gtk-rs/gir-files @ ???)
Generated by gir (https://github.com/gtk-rs/gir @ bec7561)
Generated by gir (https://github.com/gtk-rs/gir @ 04c26a8)
from gir-files (https://github.com/gtk-rs/gir-files @ ???)
Generated by gir (https://github.com/gtk-rs/gir @ bec7561)
Generated by gir (https://github.com/gtk-rs/gir @ 04c26a8)
from gir-files (https://github.com/gtk-rs/gir-files @ ???)
......@@ -12,7 +12,8 @@ use glib::value::SetValue;
use glib::value::Value;
use gobject_ffi;
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)]
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash)]
#[derive(Clone, Copy)]
pub enum DiscovererResult {
Ok,
UriInvalid,
......
Generated by gir (https://github.com/gtk-rs/gir @ bec7561)
Generated by gir (https://github.com/gtk-rs/gir @ 04c26a8)
from gir-files (https://github.com/gtk-rs/gir-files @ ???)
......@@ -14,7 +14,8 @@ use glib::value::SetValue;
use glib::value::Value;
use gobject_ffi;
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)]
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash)]
#[derive(Clone, Copy)]
pub enum PlayerColorBalanceType {
Hue,
Brightness,
......@@ -77,7 +78,8 @@ impl SetValue for PlayerColorBalanceType {
}
}
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)]
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash)]
#[derive(Clone, Copy)]
pub enum PlayerError {
Failed,
#[doc(hidden)]
......@@ -150,7 +152,8 @@ impl SetValue for PlayerError {
}
}
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)]
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash)]
#[derive(Clone, Copy)]
pub enum PlayerSnapshotFormat {
RawNative,
RawXrgb,
......@@ -192,7 +195,8 @@ impl FromGlib<ffi::GstPlayerSnapshotFormat> for PlayerSnapshotFormat {
}
}
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)]
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash)]
#[derive(Clone, Copy)]
pub enum PlayerState {
Stopped,
Buffering,
......
......@@ -10,6 +10,7 @@ use std::mem;
use std::ptr;
glib_wrapper! {
#[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)]
pub struct PlayerVisualization(Boxed<ffi::GstPlayerVisualization>);
match fn {
......
Generated by gir (https://github.com/gtk-rs/gir @ bec7561)
Generated by gir (https://github.com/gtk-rs/gir @ 04c26a8)
from gir-files (https://github.com/gtk-rs/gir-files @ ???)
......@@ -12,7 +12,8 @@ use glib::value::SetValue;
use glib::value::Value;
use gobject_ffi;
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)]
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash)]
#[derive(Clone, Copy)]
pub enum RTSPAddressPoolResult {
Ok,
Einval,
......@@ -54,7 +55,8 @@ impl FromGlib<ffi::GstRTSPAddressPoolResult> for RTSPAddressPoolResult {
}
}
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)]
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash)]
#[derive(Clone, Copy)]
pub enum RTSPMediaStatus {
Unprepared,
Unpreparing,
......@@ -99,7 +101,8 @@ impl FromGlib<ffi::GstRTSPMediaStatus> for RTSPMediaStatus {
}
}
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)]
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash)]
#[derive(Clone, Copy)]
pub enum RTSPPublishClockMode {
None,
Clock,
......@@ -159,7 +162,8 @@ impl SetValue for RTSPPublishClockMode {
}
}
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)]
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash)]
#[derive(Clone, Copy)]
pub enum RTSPSuspendMode {
None,
Pause,
......@@ -219,7 +223,8 @@ impl SetValue for RTSPSuspendMode {
}
}
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)]
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash)]
#[derive(Clone, Copy)]
pub enum RTSPThreadType {
Client,
Media,
......
......@@ -10,6 +10,7 @@ use std::mem;
use std::ptr;
glib_wrapper! {
#[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)]
pub struct RTSPAddress(Boxed<ffi::GstRTSPAddress>);
match fn {
......
Generated by gir (https://github.com/gtk-rs/gir @ bec7561)
Generated by gir (https://github.com/gtk-rs/gir @ 04c26a8)
from gir-files (https://github.com/gtk-rs/gir-files @ ???)
......@@ -12,7 +12,8 @@ use glib::value::SetValue;
use glib::value::Value;
use gobject_ffi;
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)]
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash)]
#[derive(Clone, Copy)]
pub enum RTSPAuthMethod {
None,
Basic,
......@@ -72,7 +73,8 @@ impl SetValue for RTSPAuthMethod {
}
}
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)]
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash)]
#[derive(Clone, Copy)]
pub enum RTSPFamily {
None,
Inet,
......@@ -132,7 +134,8 @@ impl SetValue for RTSPFamily {
}
}
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)]
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash)]
#[derive(Clone, Copy)]
pub enum RTSPHeaderField {
Invalid,
Accept,
......@@ -447,7 +450,8 @@ impl SetValue for RTSPHeaderField {
}
}
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)]
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash)]
#[derive(Clone, Copy)]
pub enum RTSPMsgType {
Invalid,
Request,
......@@ -516,7 +520,8 @@ impl SetValue for RTSPMsgType {
}
}
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)]
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash)]
#[derive(Clone, Copy)]
pub enum RTSPRangeUnit {
Smpte,
Smpte30Drop,
......@@ -582,7 +587,8 @@ impl SetValue for RTSPRangeUnit {
}
}
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)]
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash)]
#[derive(Clone, Copy)]
pub enum RTSPResult {
Ok,
Error,
......@@ -687,7 +693,8 @@ impl SetValue for RTSPResult {
}
}
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)]
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash)]
#[derive(Clone, Copy)]
pub enum RTSPState {
Invalid,
Init,
......@@ -756,7 +763,8 @@ impl SetValue for RTSPState {
}
}
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)]
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash)]
#[derive(Clone, Copy)]
pub enum RTSPStatusCode {
Invalid,
Continue,
......@@ -945,7 +953,8 @@ impl SetValue for RTSPStatusCode {
}
}
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)]
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash)]
#[derive(Clone, Copy)]
pub enum RTSPTimeType {
Seconds,
Now,
......
......@@ -10,6 +10,7 @@ use std::mem;
use std::ptr;
glib_wrapper! {
#[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)]
pub struct RTSPAuthParam(Boxed<ffi::GstRTSPAuthParam>);
match fn {
......
......@@ -11,6 +11,7 @@ use std::mem;
use std::ptr;
glib_wrapper! {
#[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)]
pub struct RTSPUrl(Boxed<ffi::GstRTSPUrl>);
match fn {
......
Generated by gir (https://github.com/gtk-rs/gir @ bec7561)
Generated by gir (https://github.com/gtk-rs/gir @ 04c26a8)
from gir-files (https://github.com/gtk-rs/gir-files @ ???)
......@@ -5,7 +5,8 @@
use ffi;
use glib::translate::*;
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)]
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash)]
#[derive(Clone, Copy)]
pub enum MIKEYCacheType {
None,
Always,
......@@ -41,7 +42,8 @@ impl FromGlib<ffi::GstMIKEYCacheType> for MIKEYCacheType {
}
}
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)]
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash)]
#[derive(Clone, Copy)]
pub enum MIKEYEncAlg {
Null,
AesCm128,
......@@ -77,7 +79,8 @@ impl FromGlib<ffi::GstMIKEYEncAlg> for MIKEYEncAlg {
}
}
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)]
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash)]
#[derive(Clone, Copy)]
pub enum MIKEYKVType {
Null,
Spi,
......@@ -113,7 +116,8 @@ impl FromGlib<ffi::GstMIKEYKVType> for MIKEYKVType {
}
}
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)]
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash)]
#[derive(Clone, Copy)]
pub enum MIKEYKeyDataType {
Tgk,
Tek,
......@@ -146,7 +150,8 @@ impl FromGlib<ffi::GstMIKEYKeyDataType> for MIKEYKeyDataType {
}
}
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)]
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash)]
#[derive(Clone, Copy)]
pub enum MIKEYMacAlg {
Null,
HmacSha1160,
......@@ -179,7 +184,8 @@ impl FromGlib<ffi::GstMIKEYMacAlg> for MIKEYMacAlg {
}
}
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)]
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash)]
#[derive(Clone, Copy)]
pub enum MIKEYMapType {
MikeyMapTypeSrtp,
#[doc(hidden)]
......@@ -209,7 +215,8 @@ impl FromGlib<ffi::GstMIKEYMapType> for MIKEYMapType {
}
}
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)]
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash)]
#[derive(Clone, Copy)]
pub enum MIKEYPRFFunc {
MikeyPrfMikey1,
#[doc(hidden)]
......@@ -239,7 +246,8 @@ impl FromGlib<ffi::GstMIKEYPRFFunc> for MIKEYPRFFunc {
}
}
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)]
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash)]
#[derive(Clone, Copy)]
pub enum MIKEYPayloadType {
Last,
Kemac,
......@@ -311,7 +319,8 @@ impl FromGlib<ffi::GstMIKEYPayloadType> for MIKEYPayloadType {
}
}
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)]
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash)]
#[derive(Clone, Copy)]
pub enum MIKEYSecProto {
MikeySecProtoSrtp,
#[doc(hidden)]
......@@ -341,7 +350,8 @@ impl FromGlib<ffi::GstMIKEYSecProto> for MIKEYSecProto {
}
}
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)]
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash)]
#[derive(Clone, Copy)]
pub enum MIKEYSecSRTP {
EncAlg,
EncKeyLen,
......@@ -407,7 +417,8 @@ impl FromGlib<ffi::GstMIKEYSecSRTP> for MIKEYSecSRTP {
}
}
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)]
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash)]
#[derive(Clone, Copy)]
pub enum MIKEYTSType {
NtpUtc,
Ntp,
......@@ -443,7 +454,8 @@ impl FromGlib<ffi::GstMIKEYTSType> for MIKEYTSType {
}
}
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)]
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash)]
#[derive(Clone, Copy)]
pub enum MIKEYType {
Invalid,
PskInit,
......
......@@ -17,6 +17,7 @@ use std::mem;
use std::ptr;
glib_wrapper! {
#[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)]
pub struct MIKEYMessage(Boxed<ffi::GstMIKEYMessage>);
match fn {
......
......@@ -16,6 +16,7 @@ use std::mem;
use std::ptr;
glib_wrapper! {
#[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)]
pub struct MIKEYPayload(Boxed<ffi::GstMIKEYPayload>);
match fn {
......
Generated by gir (https://github.com/gtk-rs/gir @ bec7561)
Generated by gir (https://github.com/gtk-rs/gir @ 04c26a8)
from gir-files (https://github.com/gtk-rs/gir-files @ ???)
......@@ -12,7 +12,8 @@ use glib::value::SetValue;
use glib::value::Value;
use gobject_ffi;
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)]
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash)]
#[derive(Clone, Copy)]
pub enum VideoColorMatrix {
Unknown,
Rgb,
......@@ -84,7 +85,8 @@ impl SetValue for VideoColorMatrix {
}
}
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)]
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash)]
#[derive(Clone, Copy)]
pub enum VideoColorPrimaries {
Unknown,
Bt709,
......@@ -163,7 +165,8 @@ impl SetValue for VideoColorPrimaries {
}
#[cfg(any(feature = "v1_12", feature = "dox"))]
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)]
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash)]
#[derive(Clone, Copy)]
pub enum VideoFieldOrder {
Unknown,
TopFieldFirst,
......@@ -229,7 +232,8 @@ impl SetValue for VideoFieldOrder {
}
}
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)]
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash)]
#[derive(Clone, Copy)]
pub enum VideoFormat {
Unknown,
Encoded,
......@@ -523,7 +527,8 @@ impl SetValue for VideoFormat {
}
}
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)]
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash)]
#[derive(Clone, Copy)]
pub enum VideoInterlaceMode {
Progressive,
Interleaved,
......@@ -586,7 +591,8 @@ impl SetValue for VideoInterlaceMode {
}
}
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)]
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash)]
#[derive(Clone, Copy)]
pub enum VideoMultiviewFramePacking {
None,
Mono,
......@@ -667,7 +673,8 @@ impl SetValue for VideoMultiviewFramePacking {
}
}
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)]
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash)]
#[derive(Clone, Copy)]
pub enum VideoMultiviewMode {
None,
Mono,
......@@ -757,7 +764,8 @@ impl SetValue for VideoMultiviewMode {
}
}
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)]
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash)]
#[derive(Clone, Copy)]
pub enum VideoTileMode {
Unknown,
Zflipz2x2,
......@@ -814,7 +822,8 @@ impl SetValue for VideoTileMode {
}
}
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)]
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash)]
#[derive(Clone, Copy)]
pub enum VideoTransferFunction {
Unknown,
Gamma10,
......
Generated by gir (https://github.com/gtk-rs/gir @ bec7561)
Generated by gir (https://github.com/gtk-rs/gir @ 04c26a8)
from gir-files (https://github.com/gtk-rs/gir-files @ ???)
......@@ -12,7 +12,8 @@ use glib::value::SetValue;
use glib::value::Value;
use gobject_ffi;
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)]
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash)]
#[derive(Clone, Copy)]
pub enum WebRTCDTLSSetup {
None,
Actpass,
......@@ -75,7 +76,8 @@ impl SetValue for WebRTCDTLSSetup {
}
}
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)]
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash)]
#[derive(Clone, Copy)]
pub enum WebRTCDTLSTransportState {
New,
Closed,
......@@ -141,7 +143,8 @@ impl SetValue for WebRTCDTLSTransportState {
}
}
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)]
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash)]
#[derive(Clone, Copy)]
pub enum WebRTCICEComponent {
Rtp,
Rtcp,
......@@ -198,7 +201,8 @@ impl SetValue for WebRTCICEComponent {
}
}
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)]
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash)]
#[derive(Clone, Copy)]
pub enum WebRTCICEConnectionState {
New,
Checking,
......@@ -270,7 +274,8 @@ impl SetValue for WebRTCICEConnectionState {
}
}
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)]
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash)]
#[derive(Clone, Copy)]
pub enum WebRTCICEGatheringState {
New,
Gathering,
......@@ -330,7 +335,8 @@ impl SetValue for WebRTCICEGatheringState {
}
}
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)]
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash)]
#[derive(Clone, Copy)]
pub enum WebRTCICERole {
Controlled,
Controlling,
......@@ -387,7 +393,8 @@ impl SetValue for WebRTCICERole {
}
}
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)]
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash)]
#[derive(Clone, Copy)]
pub enum WebRTCPeerConnectionState {
New,
Connecting,
......@@ -456,7 +463,8 @@ impl SetValue for WebRTCPeerConnectionState {
}
}
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)]
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash)]
#[derive(Clone, Copy)]
pub enum WebRTCRTPTransceiverDirection {
None,
Inactive,
......@@ -522,7 +530,8 @@ impl SetValue for WebRTCRTPTransceiverDirection {
}
}
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)]
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash)]
#[derive(Clone, Copy)]
pub enum WebRTCSDPType {
Offer,
Pranswer,
......@@ -585,7 +594,8 @@ impl SetValue for WebRTCSDPType {
}
}
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)]
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash)]
#[derive(Clone, Copy)]
pub enum WebRTCSignalingState {
Stable,
Closed,
......@@ -654,7 +664,8 @@ impl SetValue for WebRTCSignalingState {
}
}
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)]
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash)]
#[derive(Clone, Copy)]
pub enum WebRTCStatsType {
Codec,
InboundRtp,
......
Generated by gir (https://github.com/gtk-rs/gir @ bec7561)
Generated by gir (https://github.com/gtk-rs/gir @ 04c26a8)
from gir-files (https://github.com/gtk-rs/gir-files @ ???)
......@@ -10,6 +10,7 @@ use std::mem;
use std::ptr;
glib_wrapper! {
#[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)]
pub struct WebRTCSessionDescription(Boxed<ffi::GstWebRTCSessionDescription>);
match fn {
......
......@@ -11,6 +11,7 @@ use std::mem;
use std::ptr;
glib_wrapper! {
#[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)]
pub struct DateTime(Shared<ffi::GstDateTime>);
match fn {
......
......@@ -14,7 +14,8 @@ use glib::value::SetValue;
use glib::value::Value;
use gobject_ffi;
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)]
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash)]
#[derive(Clone, Copy)]
pub enum BufferingMode {
Stream,
Download,
......@@ -77,7 +78,8 @@ impl SetValue for BufferingMode {
}
}