#[repr(u32)]pub enum ExecutionModel {
Vertex = 0,
TesselationControl = 1,
TesselationEvaluation = 2,
Geometry = 3,
Fragment = 4,
GLCompute = 5,
Kernel = 6,
}
Variants§
Vertex = 0
TesselationControl = 1
TesselationEvaluation = 2
Geometry = 3
Fragment = 4
GLCompute = 5
Kernel = 6
Implementations§
Source§impl ExecutionModel
impl ExecutionModel
pub fn from(val: u32) -> Option<ExecutionModel>
Trait Implementations§
Source§impl Clone for ExecutionModel
impl Clone for ExecutionModel
Source§fn clone(&self) -> ExecutionModel
fn clone(&self) -> ExecutionModel
Returns a copy 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 ExecutionModel
impl Debug for ExecutionModel
Source§impl Hash for ExecutionModel
impl Hash for ExecutionModel
Source§impl PartialEq for ExecutionModel
impl PartialEq for ExecutionModel
impl Copy for ExecutionModel
impl StructuralPartialEq for ExecutionModel
Auto Trait Implementations§
impl Freeze for ExecutionModel
impl RefUnwindSafe for ExecutionModel
impl Send for ExecutionModel
impl Sync for ExecutionModel
impl Unpin for ExecutionModel
impl UnwindSafe for ExecutionModel
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)