Enum ux::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]pub 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]pub unsafe fn from_value(value: &Value) -> ShaderType
[src]
impl<'a> FromValueOptional<'a> for ShaderType
[src]
impl<'a> FromValueOptional<'a> for ShaderType
[src]pub unsafe fn from_value_optional(value: &Value) -> Option<ShaderType>
[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]pub fn eq(&self, other: &ShaderType) -> bool
[src]
pub fn ne(&self, other: &ShaderType) -> bool
[src]
impl PartialOrd<ShaderType> for ShaderType
[src]
impl PartialOrd<ShaderType> for ShaderType
[src]pub fn partial_cmp(&self, other: &ShaderType) -> Option<Ordering>
[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn lt(&self, other: &Rhs) -> bool#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn le(&self, other: &Rhs) -> bool#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn gt(&self, other: &Rhs) -> bool#[must_use]pub fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn ge(&self, other: &Rhs) -> boolimpl SetValue for ShaderType
[src]
impl SetValue for ShaderType
[src]pub unsafe fn set_value(value: &mut Value, this: &ShaderType)
[src]
impl StaticType for ShaderType
[src]
impl StaticType for ShaderType
[src]pub 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>,