pub enum ProgramType {
Pixel,
Vertex,
Geometry,
Hull,
Domain,
Compute,
}Expand description
The kind of program a version token names.
Variants§
Pixel
A pixel program (ps).
Vertex
A vertex program (vs).
Geometry
A geometry program (gs).
Hull
A hull program (hs).
Domain
A domain program (ds).
Compute
A compute program (cs).
Implementations§
Trait Implementations§
Source§impl Clone for ProgramType
impl Clone for ProgramType
impl Copy for ProgramType
Source§impl Debug for ProgramType
impl Debug for ProgramType
impl Eq for ProgramType
Source§impl PartialEq for ProgramType
impl PartialEq for ProgramType
impl StructuralPartialEq for ProgramType
Auto Trait Implementations§
impl Forget for ProgramType
impl Freeze for ProgramType
impl RefUnwindSafe for ProgramType
impl Send for ProgramType
impl Sync for ProgramType
impl Unpin for ProgramType
impl UnsafeUnpin for ProgramType
impl UnwindSafe for ProgramType
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