#[non_exhaustive]#[repr(u32)]pub enum spvc_builtin_resource_type {
SPVC_BUILTIN_RESOURCE_TYPE_UNKNOWN = 0,
SPVC_BUILTIN_RESOURCE_TYPE_STAGE_INPUT = 1,
SPVC_BUILTIN_RESOURCE_TYPE_STAGE_OUTPUT = 2,
SPVC_BUILTIN_RESOURCE_TYPE_INT_MAX = 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.
SPVC_BUILTIN_RESOURCE_TYPE_UNKNOWN = 0
SPVC_BUILTIN_RESOURCE_TYPE_STAGE_INPUT = 1
SPVC_BUILTIN_RESOURCE_TYPE_STAGE_OUTPUT = 2
SPVC_BUILTIN_RESOURCE_TYPE_INT_MAX = 2_147_483_647
Trait Implementations§
Source§impl Clone for spvc_builtin_resource_type
impl Clone for spvc_builtin_resource_type
Source§fn clone(&self) -> spvc_builtin_resource_type
fn clone(&self) -> spvc_builtin_resource_type
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 spvc_builtin_resource_type
impl Debug for spvc_builtin_resource_type
Source§impl Hash for spvc_builtin_resource_type
impl Hash for spvc_builtin_resource_type
impl Copy for spvc_builtin_resource_type
impl Eq for spvc_builtin_resource_type
impl StructuralPartialEq for spvc_builtin_resource_type
Auto Trait Implementations§
impl Freeze for spvc_builtin_resource_type
impl RefUnwindSafe for spvc_builtin_resource_type
impl Send for spvc_builtin_resource_type
impl Sync for spvc_builtin_resource_type
impl Unpin for spvc_builtin_resource_type
impl UnwindSafe for spvc_builtin_resource_type
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