Skip to content

Instantly share code, notes, and snippets.

@dextero
Created March 7, 2024 19:43
Show Gist options
  • Save dextero/05f14b287e6c0157347229cf5f361270 to your computer and use it in GitHub Desktop.
Save dextero/05f14b287e6c0157347229cf5f361270 to your computer and use it in GitHub Desktop.
gbm.rs bitflags update to v2: cargo public-api diff 0.14.2
Removed items from the public API
=================================
(none)
Changed items in the public API
===============================
-pub struct gbm::BufferObjectFlags
+pub struct gbm::BufferObjectFlags(_)
Added items to the public API
=============================
+impl gbm::BufferObjectFlags
+impl gbm::BufferObjectFlags
+impl gbm::BufferObjectFlags
+pub const fn gbm::BufferObjectFlags::from_bits_retain(bits: u32) -> Self
+pub fn gbm::BufferObjectFlags::from_name(name: &str) -> core::option::Option<Self>
+pub const fn gbm::BufferObjectFlags::iter(&self) -> bitflags::iter::Iter<gbm::BufferObjectFlags>
+pub const fn gbm::BufferObjectFlags::iter_names(&self) -> bitflags::iter::IterNames<gbm::BufferObjectFlags>
+impl bitflags::traits::Flags for gbm::BufferObjectFlags
+pub type gbm::BufferObjectFlags::Bits = u32
+pub const gbm::BufferObjectFlags::FLAGS: &'static [bitflags::traits::Flag<gbm::BufferObjectFlags>]
+pub fn gbm::BufferObjectFlags::bits(&self) -> u32
+pub fn gbm::BufferObjectFlags::from_bits_retain(bits: u32) -> gbm::BufferObjectFlags
+impl bitflags::traits::PublicFlags for gbm::BufferObjectFlags
+pub type gbm::BufferObjectFlags::Internal = InternalBitFlags
+pub type gbm::BufferObjectFlags::Primitive = u32
+impl core::iter::traits::collect::IntoIterator for gbm::BufferObjectFlags
+pub type gbm::BufferObjectFlags::IntoIter = bitflags::iter::Iter<gbm::BufferObjectFlags>
+pub type gbm::BufferObjectFlags::Item = gbm::BufferObjectFlags
+pub fn gbm::BufferObjectFlags::into_iter(self) -> Self::IntoIter
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment