#[repr(u32)]pub enum Bool32 {
False = 0,
True = 1,
}Expand description
https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkBool32.html
According to the Vulkan specification:
- All values returned from a Vulkan implementation in a VkBool32 will be either VK_TRUE or VK_FALSE.
- Applications must not pass any other values than VK_TRUE or VK_FALSE into a Vulkan implementation where a VkBool32 is expected.
Variants§
Trait Implementations§
impl Copy for Bool32
impl Eq for Bool32
impl StructuralPartialEq for Bool32
Auto Trait Implementations§
impl Freeze for Bool32
impl RefUnwindSafe for Bool32
impl Send for Bool32
impl Sync for Bool32
impl Unpin for Bool32
impl UnwindSafe for Bool32
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more