Enum allegro::shader::ShaderType
source · #[repr(u32)]
pub enum ShaderType {
Pixel,
Vertex,
}
Expand description
Shader type.
Variants
Pixel
Vertex
Trait Implementations
sourceimpl Clone for ShaderType
impl Clone for ShaderType
sourcefn clone(&self) -> ShaderType
fn clone(&self) -> ShaderType
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ShaderType
impl Debug for ShaderType
impl Copy for ShaderType
Auto Trait Implementations
impl RefUnwindSafe for ShaderType
impl Send for ShaderType
impl Sync for ShaderType
impl Unpin for ShaderType
impl UnwindSafe for ShaderType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more