gstreamer-rs/gstreamer-base/src/auto/flags.rs
Marijn Suijten 6ec0e3ac4b Update gir and regenerate with extended gir-dirs comments
Gir now prints all directories and their hashes in the version file and
comments; useful now that gstreamer-rs is being generated from both
gir-files/ and gst-gir-files/ submodules.
2021-04-01 15:58:41 +02:00

35 lines
918 B
Rust

// This file was generated by gir (https://github.com/gtk-rs/gir)
// from gir-files (https://github.com/gtk-rs/gir-files)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
// DO NOT EDIT
use bitflags::bitflags;
use glib::translate::*;
bitflags! {
pub struct BaseParseFrameFlags: u32 {
const NEW_FRAME = 1;
const NO_FRAME = 2;
const CLIP = 4;
const DROP = 8;
const QUEUE = 16;
}
}
#[doc(hidden)]
impl ToGlib for BaseParseFrameFlags {
type GlibType = ffi::GstBaseParseFrameFlags;
fn to_glib(&self) -> ffi::GstBaseParseFrameFlags {
self.bits()
}
}
#[doc(hidden)]
impl FromGlib<ffi::GstBaseParseFrameFlags> for BaseParseFrameFlags {
unsafe fn from_glib(value: ffi::GstBaseParseFrameFlags) -> BaseParseFrameFlags {
skip_assert_initialized!();
BaseParseFrameFlags::from_bits_truncate(value)
}
}