Regenerate with latest gir

This commit is contained in:
Sebastian Dröge 2018-08-18 00:25:12 +03:00
parent 06bd23f833
commit 3c900e6102
32 changed files with 239 additions and 113 deletions

View file

@ -50,11 +50,9 @@ generate = [
"Gst.ChildProxy", "Gst.ChildProxy",
"Gst.TagSetter", "Gst.TagSetter",
"Gst.QOSType", "Gst.QOSType",
"Gst.EventType",
"Gst.TocSetter", "Gst.TocSetter",
"Gst.ClockType", "Gst.ClockType",
"Gst.ElementFlags", "Gst.ElementFlags",
"Gst.Rank",
"Gst.PadLinkCheck", "Gst.PadLinkCheck",
"Gst.DebugLevel", "Gst.DebugLevel",
"Gst.DebugColorFlags", "Gst.DebugColorFlags",
@ -64,7 +62,6 @@ generate = [
"Gst.TaskState", "Gst.TaskState",
"Gst.PluginDependencyFlags", "Gst.PluginDependencyFlags",
"Gst.DateTime", "Gst.DateTime",
"Gst.TypeFindProbability",
"Gst.BufferPoolAcquireFlags", "Gst.BufferPoolAcquireFlags",
"Gst.PromiseResult", "Gst.PromiseResult",
] ]
@ -156,6 +153,8 @@ status = "generate"
[[object.derive]] [[object.derive]]
name = "Serialize, Deserialize" name = "Serialize, Deserialize"
cfg_condition = "feature = \"ser_de\"" cfg_condition = "feature = \"ser_de\""
[[object.derive]]
name = "Debug, PartialEq, Eq, PartialOrd, Ord, Hash"
[[object]] [[object]]
name = "Gst.SegmentFlags" name = "Gst.SegmentFlags"
@ -170,6 +169,8 @@ status = "generate"
[[object.derive]] [[object.derive]]
name = "Serialize, Deserialize" name = "Serialize, Deserialize"
cfg_condition = "feature = \"ser_de\"" cfg_condition = "feature = \"ser_de\""
[[object.derive]]
name = "Debug, PartialEq, Eq, PartialOrd, Ord, Hash"
[[object]] [[object]]
name = "Gst.TocEntryType" name = "Gst.TocEntryType"
@ -177,6 +178,8 @@ status = "generate"
[[object.derive]] [[object.derive]]
name = "Serialize, Deserialize" name = "Serialize, Deserialize"
cfg_condition = "feature = \"ser_de\"" cfg_condition = "feature = \"ser_de\""
[[object.derive]]
name = "Debug, PartialEq, Eq, PartialOrd, Ord, Hash"
[[object]] [[object]]
name = "Gst.TocLoopType" name = "Gst.TocLoopType"
@ -184,6 +187,26 @@ status = "generate"
[[object.derive]] [[object.derive]]
name = "Serialize, Deserialize" name = "Serialize, Deserialize"
cfg_condition = "feature = \"ser_de\"" 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]] [[object]]
name = "Gst.Structure" name = "Gst.Structure"

View file

@ -12,7 +12,8 @@ use glib::value::SetValue;
use glib::value::Value; use glib::value::Value;
use gobject_ffi; use gobject_ffi;
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash)]
#[derive(Clone, Copy)]
pub enum AppStreamType { pub enum AppStreamType {
Stream, Stream,
Seekable, Seekable,

View file

@ -1,2 +1,2 @@
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 @ ???) from gir-files (https://github.com/gtk-rs/gir-files @ ???)

View file

@ -12,6 +12,7 @@ use std::mem;
use std::ptr; use std::ptr;
glib_wrapper! { glib_wrapper! {
#[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)]
pub struct AudioStreamAlign(Boxed<ffi::GstAudioStreamAlign>); pub struct AudioStreamAlign(Boxed<ffi::GstAudioStreamAlign>);
match fn { match fn {

View file

@ -12,7 +12,8 @@ use glib::value::SetValue;
use glib::value::Value; use glib::value::Value;
use gobject_ffi; use gobject_ffi;
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash)]
#[derive(Clone, Copy)]
pub enum AudioChannelPosition { pub enum AudioChannelPosition {
None, None,
Mono, 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 { pub enum AudioFormat {
Unknown, Unknown,
Encoded, 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 { pub enum AudioLayout {
Interleaved, Interleaved,
NonInterleaved, 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 { pub enum StreamVolumeFormat {
Linear, Linear,
Cubic, Cubic,

View file

@ -1,2 +1,2 @@
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 @ ???) from gir-files (https://github.com/gtk-rs/gir-files @ ???)

View file

@ -1,2 +1,2 @@
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 @ ???) from gir-files (https://github.com/gtk-rs/gir-files @ ???)

View file

@ -1,2 +1,2 @@
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 @ ???) from gir-files (https://github.com/gtk-rs/gir-files @ ???)

View file

@ -12,7 +12,8 @@ use glib::value::SetValue;
use glib::value::Value; use glib::value::Value;
use gobject_ffi; use gobject_ffi;
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash)]
#[derive(Clone, Copy)]
pub enum DiscovererResult { pub enum DiscovererResult {
Ok, Ok,
UriInvalid, UriInvalid,

View file

@ -1,2 +1,2 @@
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 @ ???) from gir-files (https://github.com/gtk-rs/gir-files @ ???)

View file

@ -14,7 +14,8 @@ use glib::value::SetValue;
use glib::value::Value; use glib::value::Value;
use gobject_ffi; use gobject_ffi;
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash)]
#[derive(Clone, Copy)]
pub enum PlayerColorBalanceType { pub enum PlayerColorBalanceType {
Hue, Hue,
Brightness, 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 { pub enum PlayerError {
Failed, Failed,
#[doc(hidden)] #[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 { pub enum PlayerSnapshotFormat {
RawNative, RawNative,
RawXrgb, 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 { pub enum PlayerState {
Stopped, Stopped,
Buffering, Buffering,

View file

@ -10,6 +10,7 @@ use std::mem;
use std::ptr; use std::ptr;
glib_wrapper! { glib_wrapper! {
#[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)]
pub struct PlayerVisualization(Boxed<ffi::GstPlayerVisualization>); pub struct PlayerVisualization(Boxed<ffi::GstPlayerVisualization>);
match fn { match fn {

View file

@ -1,2 +1,2 @@
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 @ ???) from gir-files (https://github.com/gtk-rs/gir-files @ ???)

View file

@ -12,7 +12,8 @@ use glib::value::SetValue;
use glib::value::Value; use glib::value::Value;
use gobject_ffi; use gobject_ffi;
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash)]
#[derive(Clone, Copy)]
pub enum RTSPAddressPoolResult { pub enum RTSPAddressPoolResult {
Ok, Ok,
Einval, 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 { pub enum RTSPMediaStatus {
Unprepared, Unprepared,
Unpreparing, 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 { pub enum RTSPPublishClockMode {
None, None,
Clock, 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 { pub enum RTSPSuspendMode {
None, None,
Pause, 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 { pub enum RTSPThreadType {
Client, Client,
Media, Media,

View file

@ -10,6 +10,7 @@ use std::mem;
use std::ptr; use std::ptr;
glib_wrapper! { glib_wrapper! {
#[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)]
pub struct RTSPAddress(Boxed<ffi::GstRTSPAddress>); pub struct RTSPAddress(Boxed<ffi::GstRTSPAddress>);
match fn { match fn {

View file

@ -1,2 +1,2 @@
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 @ ???) from gir-files (https://github.com/gtk-rs/gir-files @ ???)

View file

@ -12,7 +12,8 @@ use glib::value::SetValue;
use glib::value::Value; use glib::value::Value;
use gobject_ffi; use gobject_ffi;
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash)]
#[derive(Clone, Copy)]
pub enum RTSPAuthMethod { pub enum RTSPAuthMethod {
None, None,
Basic, 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 { pub enum RTSPFamily {
None, None,
Inet, 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 { pub enum RTSPHeaderField {
Invalid, Invalid,
Accept, 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 { pub enum RTSPMsgType {
Invalid, Invalid,
Request, 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 { pub enum RTSPRangeUnit {
Smpte, Smpte,
Smpte30Drop, 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 { pub enum RTSPResult {
Ok, Ok,
Error, 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 { pub enum RTSPState {
Invalid, Invalid,
Init, 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 { pub enum RTSPStatusCode {
Invalid, Invalid,
Continue, 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 { pub enum RTSPTimeType {
Seconds, Seconds,
Now, Now,

View file

@ -10,6 +10,7 @@ use std::mem;
use std::ptr; use std::ptr;
glib_wrapper! { glib_wrapper! {
#[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)]
pub struct RTSPAuthParam(Boxed<ffi::GstRTSPAuthParam>); pub struct RTSPAuthParam(Boxed<ffi::GstRTSPAuthParam>);
match fn { match fn {

View file

@ -11,6 +11,7 @@ use std::mem;
use std::ptr; use std::ptr;
glib_wrapper! { glib_wrapper! {
#[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)]
pub struct RTSPUrl(Boxed<ffi::GstRTSPUrl>); pub struct RTSPUrl(Boxed<ffi::GstRTSPUrl>);
match fn { match fn {

View file

@ -1,2 +1,2 @@
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 @ ???) from gir-files (https://github.com/gtk-rs/gir-files @ ???)

View file

@ -5,7 +5,8 @@
use ffi; use ffi;
use glib::translate::*; use glib::translate::*;
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash)]
#[derive(Clone, Copy)]
pub enum MIKEYCacheType { pub enum MIKEYCacheType {
None, None,
Always, 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 { pub enum MIKEYEncAlg {
Null, Null,
AesCm128, 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 { pub enum MIKEYKVType {
Null, Null,
Spi, 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 { pub enum MIKEYKeyDataType {
Tgk, Tgk,
Tek, 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 { pub enum MIKEYMacAlg {
Null, Null,
HmacSha1160, 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 { pub enum MIKEYMapType {
MikeyMapTypeSrtp, MikeyMapTypeSrtp,
#[doc(hidden)] #[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 { pub enum MIKEYPRFFunc {
MikeyPrfMikey1, MikeyPrfMikey1,
#[doc(hidden)] #[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 { pub enum MIKEYPayloadType {
Last, Last,
Kemac, 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 { pub enum MIKEYSecProto {
MikeySecProtoSrtp, MikeySecProtoSrtp,
#[doc(hidden)] #[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 { pub enum MIKEYSecSRTP {
EncAlg, EncAlg,
EncKeyLen, 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 { pub enum MIKEYTSType {
NtpUtc, NtpUtc,
Ntp, 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 { pub enum MIKEYType {
Invalid, Invalid,
PskInit, PskInit,

View file

@ -17,6 +17,7 @@ use std::mem;
use std::ptr; use std::ptr;
glib_wrapper! { glib_wrapper! {
#[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)]
pub struct MIKEYMessage(Boxed<ffi::GstMIKEYMessage>); pub struct MIKEYMessage(Boxed<ffi::GstMIKEYMessage>);
match fn { match fn {

View file

@ -16,6 +16,7 @@ use std::mem;
use std::ptr; use std::ptr;
glib_wrapper! { glib_wrapper! {
#[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)]
pub struct MIKEYPayload(Boxed<ffi::GstMIKEYPayload>); pub struct MIKEYPayload(Boxed<ffi::GstMIKEYPayload>);
match fn { match fn {

View file

@ -1,2 +1,2 @@
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 @ ???) from gir-files (https://github.com/gtk-rs/gir-files @ ???)

View file

@ -12,7 +12,8 @@ use glib::value::SetValue;
use glib::value::Value; use glib::value::Value;
use gobject_ffi; use gobject_ffi;
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash)]
#[derive(Clone, Copy)]
pub enum VideoColorMatrix { pub enum VideoColorMatrix {
Unknown, Unknown,
Rgb, 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 { pub enum VideoColorPrimaries {
Unknown, Unknown,
Bt709, Bt709,
@ -163,7 +165,8 @@ impl SetValue for VideoColorPrimaries {
} }
#[cfg(any(feature = "v1_12", feature = "dox"))] #[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 { pub enum VideoFieldOrder {
Unknown, Unknown,
TopFieldFirst, 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 { pub enum VideoFormat {
Unknown, Unknown,
Encoded, 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 { pub enum VideoInterlaceMode {
Progressive, Progressive,
Interleaved, 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 { pub enum VideoMultiviewFramePacking {
None, None,
Mono, 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 { pub enum VideoMultiviewMode {
None, None,
Mono, 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 { pub enum VideoTileMode {
Unknown, Unknown,
Zflipz2x2, 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 { pub enum VideoTransferFunction {
Unknown, Unknown,
Gamma10, Gamma10,

View file

@ -1,2 +1,2 @@
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 @ ???) from gir-files (https://github.com/gtk-rs/gir-files @ ???)

View file

@ -12,7 +12,8 @@ use glib::value::SetValue;
use glib::value::Value; use glib::value::Value;
use gobject_ffi; use gobject_ffi;
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash)]
#[derive(Clone, Copy)]
pub enum WebRTCDTLSSetup { pub enum WebRTCDTLSSetup {
None, None,
Actpass, 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 { pub enum WebRTCDTLSTransportState {
New, New,
Closed, 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 { pub enum WebRTCICEComponent {
Rtp, Rtp,
Rtcp, 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 { pub enum WebRTCICEConnectionState {
New, New,
Checking, 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 { pub enum WebRTCICEGatheringState {
New, New,
Gathering, 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 { pub enum WebRTCICERole {
Controlled, Controlled,
Controlling, 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 { pub enum WebRTCPeerConnectionState {
New, New,
Connecting, 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 { pub enum WebRTCRTPTransceiverDirection {
None, None,
Inactive, 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 { pub enum WebRTCSDPType {
Offer, Offer,
Pranswer, 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 { pub enum WebRTCSignalingState {
Stable, Stable,
Closed, 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 { pub enum WebRTCStatsType {
Codec, Codec,
InboundRtp, InboundRtp,

View file

@ -1,2 +1,2 @@
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 @ ???) from gir-files (https://github.com/gtk-rs/gir-files @ ???)

View file

@ -10,6 +10,7 @@ use std::mem;
use std::ptr; use std::ptr;
glib_wrapper! { glib_wrapper! {
#[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)]
pub struct WebRTCSessionDescription(Boxed<ffi::GstWebRTCSessionDescription>); pub struct WebRTCSessionDescription(Boxed<ffi::GstWebRTCSessionDescription>);
match fn { match fn {

View file

@ -11,6 +11,7 @@ use std::mem;
use std::ptr; use std::ptr;
glib_wrapper! { glib_wrapper! {
#[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)]
pub struct DateTime(Shared<ffi::GstDateTime>); pub struct DateTime(Shared<ffi::GstDateTime>);
match fn { match fn {

View file

@ -14,7 +14,8 @@ use glib::value::SetValue;
use glib::value::Value; use glib::value::Value;
use gobject_ffi; use gobject_ffi;
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash)]
#[derive(Clone, Copy)]
pub enum BufferingMode { pub enum BufferingMode {
Stream, Stream,
Download, Download,
@ -77,7 +78,8 @@ impl SetValue for BufferingMode {
} }
} }
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash)]
#[derive(Clone, Copy)]
pub enum BusSyncReply { pub enum BusSyncReply {
Drop, Drop,
Pass, Pass,
@ -137,7 +139,8 @@ impl SetValue for BusSyncReply {
} }
} }
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash)]
#[derive(Clone, Copy)]
pub enum CapsIntersectMode { pub enum CapsIntersectMode {
ZigZag, ZigZag,
First, First,
@ -194,8 +197,9 @@ impl SetValue for CapsIntersectMode {
} }
} }
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)]
#[must_use] #[must_use]
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash)]
#[derive(Clone, Copy)]
pub enum ClockReturn { pub enum ClockReturn {
Ok, Ok,
Early, Early,
@ -270,7 +274,8 @@ impl SetValue for ClockReturn {
} }
} }
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash)]
#[derive(Clone, Copy)]
pub enum ClockType { pub enum ClockType {
Realtime, Realtime,
Monotonic, Monotonic,
@ -330,7 +335,8 @@ impl SetValue for ClockType {
} }
} }
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash)]
#[derive(Clone, Copy)]
pub enum CoreError { pub enum CoreError {
Failed, Failed,
TooLazy, TooLazy,
@ -459,7 +465,8 @@ impl SetValue for CoreError {
} }
} }
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash)]
#[derive(Clone, Copy)]
pub enum DebugLevel { pub enum DebugLevel {
None, None,
Error, Error,
@ -540,7 +547,8 @@ impl SetValue for DebugLevel {
} }
} }
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)] #[derive(Debug, PartialEq, Eq, Hash)]
#[derive(Clone, Copy)]
pub enum EventType { pub enum EventType {
Unknown, Unknown,
FlushStart, FlushStart,
@ -681,8 +689,9 @@ impl SetValue for EventType {
} }
} }
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)]
#[must_use] #[must_use]
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash)]
#[derive(Clone, Copy)]
pub enum FlowReturn { pub enum FlowReturn {
CustomSuccess2, CustomSuccess2,
CustomSuccess1, CustomSuccess1,
@ -772,8 +781,9 @@ impl SetValue for FlowReturn {
} }
} }
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)]
#[cfg_attr(feature = "ser_de", derive(Serialize, Deserialize))] #[cfg_attr(feature = "ser_de", derive(Serialize, Deserialize))]
#[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)]
#[derive(Clone, Copy)]
pub enum Format { pub enum Format {
Undefined, Undefined,
Default, Default,
@ -842,7 +852,8 @@ impl SetValue for Format {
} }
} }
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash)]
#[derive(Clone, Copy)]
pub enum LibraryError { pub enum LibraryError {
Failed, Failed,
TooLazy, TooLazy,
@ -939,7 +950,8 @@ impl SetValue for LibraryError {
} }
} }
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash)]
#[derive(Clone, Copy)]
pub enum PadDirection { pub enum PadDirection {
Unknown, Unknown,
Src, Src,
@ -999,8 +1011,9 @@ impl SetValue for PadDirection {
} }
} }
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)]
#[must_use] #[must_use]
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash)]
#[derive(Clone, Copy)]
pub enum PadLinkReturn { pub enum PadLinkReturn {
Ok, Ok,
WrongHierarchy, WrongHierarchy,
@ -1072,7 +1085,8 @@ impl SetValue for PadLinkReturn {
} }
} }
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash)]
#[derive(Clone, Copy)]
pub enum PadMode { pub enum PadMode {
None, None,
Push, Push,
@ -1132,7 +1146,8 @@ impl SetValue for PadMode {
} }
} }
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash)]
#[derive(Clone, Copy)]
pub enum PadPresence { pub enum PadPresence {
Always, Always,
Sometimes, Sometimes,
@ -1192,7 +1207,8 @@ impl SetValue for PadPresence {
} }
} }
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash)]
#[derive(Clone, Copy)]
pub enum PadProbeReturn { pub enum PadProbeReturn {
Drop, Drop,
Ok, Ok,
@ -1258,7 +1274,8 @@ impl SetValue for PadProbeReturn {
} }
} }
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash)]
#[derive(Clone, Copy)]
pub enum ParseError { pub enum ParseError {
Syntax, Syntax,
NoSuchElement, NoSuchElement,
@ -1359,7 +1376,8 @@ impl SetValue for ParseError {
} }
} }
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash)]
#[derive(Clone, Copy)]
pub enum PluginError { pub enum PluginError {
Module, Module,
Dependencies, Dependencies,
@ -1440,7 +1458,8 @@ impl SetValue for PluginError {
} }
} }
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash)]
#[derive(Clone, Copy)]
pub enum ProgressType { pub enum ProgressType {
Start, Start,
Continue, Continue,
@ -1507,7 +1526,8 @@ impl SetValue for ProgressType {
} }
#[cfg(any(feature = "v1_14", feature = "dox"))] #[cfg(any(feature = "v1_14", feature = "dox"))]
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash)]
#[derive(Clone, Copy)]
pub enum PromiseResult { pub enum PromiseResult {
Pending, Pending,
Interrupted, Interrupted,
@ -1576,7 +1596,8 @@ impl SetValue for PromiseResult {
} }
} }
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash)]
#[derive(Clone, Copy)]
pub enum QOSType { pub enum QOSType {
Overflow, Overflow,
Underflow, Underflow,
@ -1636,7 +1657,8 @@ impl SetValue for QOSType {
} }
} }
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)] #[derive(Debug, PartialEq, Eq, Hash)]
#[derive(Clone, Copy)]
pub enum Rank { pub enum Rank {
None, None,
Marginal, Marginal,
@ -1699,7 +1721,8 @@ impl SetValue for Rank {
} }
} }
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash)]
#[derive(Clone, Copy)]
pub enum ResourceError { pub enum ResourceError {
Failed, Failed,
TooLazy, TooLazy,
@ -1832,7 +1855,8 @@ impl SetValue for ResourceError {
} }
} }
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash)]
#[derive(Clone, Copy)]
pub enum SeekType { pub enum SeekType {
None, None,
Set, Set,
@ -1892,7 +1916,8 @@ impl SetValue for SeekType {
} }
} }
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash)]
#[derive(Clone, Copy)]
pub enum State { pub enum State {
VoidPending, VoidPending,
Null, Null,
@ -1958,7 +1983,8 @@ impl SetValue for State {
} }
} }
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash)]
#[derive(Clone, Copy)]
pub enum StateChange { pub enum StateChange {
NullToReady, NullToReady,
ReadyToPaused, ReadyToPaused,
@ -2039,8 +2065,9 @@ impl SetValue for StateChange {
} }
} }
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)]
#[must_use] #[must_use]
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash)]
#[derive(Clone, Copy)]
pub enum StateChangeReturn { pub enum StateChangeReturn {
Failure, Failure,
Success, Success,
@ -2103,7 +2130,8 @@ impl SetValue for StateChangeReturn {
} }
} }
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash)]
#[derive(Clone, Copy)]
pub enum StreamError { pub enum StreamError {
Failed, Failed,
TooLazy, TooLazy,
@ -2228,7 +2256,8 @@ impl SetValue for StreamError {
} }
} }
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash)]
#[derive(Clone, Copy)]
pub enum StreamStatusType { pub enum StreamStatusType {
Create, Create,
Enter, Enter,
@ -2300,7 +2329,8 @@ impl SetValue for StreamStatusType {
} }
} }
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash)]
#[derive(Clone, Copy)]
pub enum StructureChangeType { pub enum StructureChangeType {
Link, Link,
Unlink, Unlink,
@ -2357,7 +2387,8 @@ impl SetValue for StructureChangeType {
} }
} }
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash)]
#[derive(Clone, Copy)]
pub enum TagMergeMode { pub enum TagMergeMode {
Undefined, Undefined,
ReplaceAll, ReplaceAll,
@ -2432,7 +2463,8 @@ impl SetValue for TagMergeMode {
} }
} }
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash)]
#[derive(Clone, Copy)]
pub enum TaskState { pub enum TaskState {
Started, Started,
Stopped, Stopped,
@ -2492,8 +2524,9 @@ impl SetValue for TaskState {
} }
} }
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)]
#[cfg_attr(feature = "ser_de", derive(Serialize, Deserialize))] #[cfg_attr(feature = "ser_de", derive(Serialize, Deserialize))]
#[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)]
#[derive(Clone, Copy)]
pub enum TocEntryType { pub enum TocEntryType {
Angle, Angle,
Version, Version,
@ -2565,8 +2598,9 @@ impl SetValue for TocEntryType {
} }
} }
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)]
#[cfg_attr(feature = "ser_de", derive(Serialize, Deserialize))] #[cfg_attr(feature = "ser_de", derive(Serialize, Deserialize))]
#[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)]
#[derive(Clone, Copy)]
pub enum TocLoopType { pub enum TocLoopType {
None, None,
Forward, Forward,
@ -2629,8 +2663,9 @@ impl SetValue for TocLoopType {
} }
} }
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)]
#[cfg_attr(feature = "ser_de", derive(Serialize, Deserialize))] #[cfg_attr(feature = "ser_de", derive(Serialize, Deserialize))]
#[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)]
#[derive(Clone, Copy)]
pub enum TocScope { pub enum TocScope {
Global, Global,
Current, Current,
@ -2687,7 +2722,8 @@ impl SetValue for TocScope {
} }
} }
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)] #[derive(Debug, PartialEq, Eq, Hash)]
#[derive(Clone, Copy)]
pub enum TypeFindProbability { pub enum TypeFindProbability {
None, None,
Minimum, Minimum,
@ -2756,7 +2792,8 @@ impl SetValue for TypeFindProbability {
} }
} }
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash)]
#[derive(Clone, Copy)]
pub enum URIError { pub enum URIError {
UnsupportedProtocol, UnsupportedProtocol,
BadUri, BadUri,
@ -2841,7 +2878,8 @@ impl SetValue for URIError {
} }
} }
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)] #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash)]
#[derive(Clone, Copy)]
pub enum URIType { pub enum URIType {
Unknown, Unknown,
Sink, Sink,

View file

@ -1,2 +1,2 @@
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 @ ???) from gir-files (https://github.com/gtk-rs/gir-files @ ???)