#[non_exhaustive]#[repr(u32)]pub enum VkPolygonMode {
VK_POLYGON_MODE_FILL = 0,
VK_POLYGON_MODE_LINE = 1,
VK_POLYGON_MODE_POINT = 2,
VK_POLYGON_MODE_FILL_RECTANGLE_NV = 1_000_153_000,
VK_POLYGON_MODE_MAX_ENUM = 2_147_483_647,
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
VK_POLYGON_MODE_FILL = 0
VK_POLYGON_MODE_LINE = 1
VK_POLYGON_MODE_POINT = 2
VK_POLYGON_MODE_FILL_RECTANGLE_NV = 1_000_153_000
VK_POLYGON_MODE_MAX_ENUM = 2_147_483_647
Trait Implementations§
Source§impl Clone for VkPolygonMode
impl Clone for VkPolygonMode
Source§fn clone(&self) -> VkPolygonMode
fn clone(&self) -> VkPolygonMode
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for VkPolygonMode
impl Debug for VkPolygonMode
Source§impl Hash for VkPolygonMode
impl Hash for VkPolygonMode
Source§impl PartialEq for VkPolygonMode
impl PartialEq for VkPolygonMode
impl Copy for VkPolygonMode
impl Eq for VkPolygonMode
impl StructuralPartialEq for VkPolygonMode
Auto Trait Implementations§
impl Freeze for VkPolygonMode
impl RefUnwindSafe for VkPolygonMode
impl Send for VkPolygonMode
impl Sync for VkPolygonMode
impl Unpin for VkPolygonMode
impl UnwindSafe for VkPolygonMode
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