Enum ux::prelude::dx::TextureType [−][src]
#[non_exhaustive] pub enum TextureType { _2d, _3d, Rectangle, // some variants omitted }
Constants representing the underlying hardware texture type of a
Texture
.
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 TextureRectangle
Trait Implementations
impl Clone for TextureType
[src]
impl Clone for TextureType
[src]pub fn clone(&self) -> TextureType
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for TextureType
[src]
impl Copy for TextureType
[src]impl Eq for TextureType
[src]
impl Eq for TextureType
[src]impl<'a> FromValue<'a> for TextureType
[src]
impl<'a> FromValue<'a> for TextureType
[src]pub unsafe fn from_value(value: &Value) -> TextureType
[src]
impl<'a> FromValueOptional<'a> for TextureType
[src]
impl<'a> FromValueOptional<'a> for TextureType
[src]pub unsafe fn from_value_optional(value: &Value) -> Option<TextureType>
[src]
impl Hash for TextureType
[src]
impl Hash for TextureType
[src]impl Ord for TextureType
[src]
impl Ord for TextureType
[src]impl PartialEq<TextureType> for TextureType
[src]
impl PartialEq<TextureType> for TextureType
[src]pub fn eq(&self, other: &TextureType) -> bool
[src]
pub fn ne(&self, other: &TextureType) -> bool
[src]
impl PartialOrd<TextureType> for TextureType
[src]
impl PartialOrd<TextureType> for TextureType
[src]pub fn partial_cmp(&self, other: &TextureType) -> 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 TextureType
[src]
impl SetValue for TextureType
[src]pub unsafe fn set_value(value: &mut Value, this: &TextureType)
[src]
impl StaticType for TextureType
[src]
impl StaticType for TextureType
[src]pub fn static_type() -> Type
[src]
impl StructuralEq for TextureType
[src]
impl StructuralEq for TextureType
[src]impl StructuralPartialEq for TextureType
[src]
impl StructuralPartialEq for TextureType
[src]Auto Trait Implementations
impl RefUnwindSafe for TextureType
impl RefUnwindSafe for TextureType
impl Send for TextureType
impl Send for TextureType
impl Sync for TextureType
impl Sync for TextureType
impl Unpin for TextureType
impl Unpin for TextureType
impl UnwindSafe for TextureType
impl UnwindSafe for TextureType
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>,