mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2025-01-31 21:22:22 +00:00
Derive some more traits for enums
This commit is contained in:
parent
9ae934e48a
commit
f7fd92750c
1 changed files with 2 additions and 0 deletions
|
@ -34,6 +34,7 @@ macro_rules! println_err(
|
|||
);
|
||||
|
||||
#[repr(C)]
|
||||
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
|
||||
pub enum GstFlowReturn {
|
||||
Ok = 0,
|
||||
NotLinked = -1,
|
||||
|
@ -44,6 +45,7 @@ pub enum GstFlowReturn {
|
|||
}
|
||||
|
||||
#[repr(C)]
|
||||
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
|
||||
pub enum GBoolean {
|
||||
False = 0,
|
||||
True = 1,
|
||||
|
|
Loading…
Reference in a new issue