Enum ux::prelude::dx::TextureComponents [−][src]
#[non_exhaustive] pub enum TextureComponents { A, Rg, Rgb, Rgba, Depth, // some variants omitted }
See Texture::set_components
.
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.
Only the alpha component
Red and green components. Note that
this can only be used if the FeatureID::OglFeatureIdTextureRg
feature
is advertised.
Red, green and blue components
Red, green, blue and alpha components
Only a depth component
Trait Implementations
impl Clone for TextureComponents
[src]
impl Clone for TextureComponents
[src]pub fn clone(&self) -> TextureComponents
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for TextureComponents
[src]
impl Copy for TextureComponents
[src]impl Debug for TextureComponents
[src]
impl Debug for TextureComponents
[src]impl Display for TextureComponents
[src]
impl Display for TextureComponents
[src]impl Eq for TextureComponents
[src]
impl Eq for TextureComponents
[src]impl<'a> FromValue<'a> for TextureComponents
[src]
impl<'a> FromValue<'a> for TextureComponents
[src]pub unsafe fn from_value(value: &Value) -> TextureComponents
[src]
impl<'a> FromValueOptional<'a> for TextureComponents
[src]
impl<'a> FromValueOptional<'a> for TextureComponents
[src]pub unsafe fn from_value_optional(value: &Value) -> Option<TextureComponents>
[src]
impl Hash for TextureComponents
[src]
impl Hash for TextureComponents
[src]impl Ord for TextureComponents
[src]
impl Ord for TextureComponents
[src]impl PartialEq<TextureComponents> for TextureComponents
[src]
impl PartialEq<TextureComponents> for TextureComponents
[src]pub fn eq(&self, other: &TextureComponents) -> bool
[src]
pub fn ne(&self, other: &TextureComponents) -> bool
[src]
impl PartialOrd<TextureComponents> for TextureComponents
[src]
impl PartialOrd<TextureComponents> for TextureComponents
[src]pub fn partial_cmp(&self, other: &TextureComponents) -> 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 TextureComponents
[src]
impl SetValue for TextureComponents
[src]pub unsafe fn set_value(value: &mut Value, this: &TextureComponents)
[src]
impl StaticType for TextureComponents
[src]
impl StaticType for TextureComponents
[src]pub fn static_type() -> Type
[src]
impl StructuralEq for TextureComponents
[src]
impl StructuralEq for TextureComponents
[src]Auto Trait Implementations
impl RefUnwindSafe for TextureComponents
impl RefUnwindSafe for TextureComponents
impl Send for TextureComponents
impl Send for TextureComponents
impl Sync for TextureComponents
impl Sync for TextureComponents
impl Unpin for TextureComponents
impl Unpin for TextureComponents
impl UnwindSafe for TextureComponents
impl UnwindSafe for TextureComponents
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>,