Enum animate::ShaderType [−][src]
#[non_exhaustive] pub enum ShaderType { VertexShader, FragmentShader, // some variants omitted }
The type of GLSL shader program
Variants (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.
a vertex shader
a fragment shader
Trait Implementations
impl Clone for ShaderType
[src]
impl Clone for ShaderType
[src]fn clone(&self) -> ShaderType
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for ShaderType
[src]
impl Copy for ShaderType
[src]impl Eq for ShaderType
[src]
impl Eq for ShaderType
[src]impl<'a> FromValue<'a> for ShaderType
[src]
impl<'a> FromValue<'a> for ShaderType
[src]unsafe fn from_value(value: &Value) -> Self
[src]
impl<'a> FromValueOptional<'a> for ShaderType
[src]
impl<'a> FromValueOptional<'a> for ShaderType
[src]unsafe fn from_value_optional(value: &Value) -> Option<Self>
[src]
impl Hash for ShaderType
[src]
impl Hash for ShaderType
[src]impl Ord for ShaderType
[src]
impl Ord for ShaderType
[src]impl PartialEq<ShaderType> for ShaderType
[src]
impl PartialEq<ShaderType> for ShaderType
[src]fn eq(&self, other: &ShaderType) -> bool
[src]
fn ne(&self, other: &ShaderType) -> bool
[src]
impl PartialOrd<ShaderType> for ShaderType
[src]
impl PartialOrd<ShaderType> for ShaderType
[src]impl StaticType for ShaderType
[src]
impl StaticType for ShaderType
[src]fn static_type() -> Type
[src]
impl StructuralEq for ShaderType
[src]
impl StructuralEq for ShaderType
[src]impl StructuralPartialEq for ShaderType
[src]
impl StructuralPartialEq for ShaderType
[src]Auto Trait Implementations
impl RefUnwindSafe for ShaderType
impl RefUnwindSafe for ShaderType
impl Send for ShaderType
impl Send for ShaderType
impl Sync for ShaderType
impl Sync for ShaderType
impl Unpin for ShaderType
impl Unpin for ShaderType
impl UnwindSafe for ShaderType
impl UnwindSafe for ShaderType
Blanket Implementations
impl<Fr, To> IntoColor<To> for Fr where
To: FromColor<Fr>,
[src]
impl<Fr, To> IntoColor<To> for Fr where
To: FromColor<Fr>,
[src]pub fn into_color(self) -> To
[src]
impl<T> ToSendValue for T where
T: SetValue + Send + ToValue + ?Sized,
[src]
impl<T> ToSendValue for T where
T: SetValue + Send + ToValue + ?Sized,
[src]pub fn to_send_value(&self) -> SendValue
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,