Enum animate::ScalingFilter [−][src]
#[non_exhaustive] pub enum ScalingFilter { Linear, Nearest, Trilinear, // some variants omitted }
The scaling filters to be used with the Actor:minification-filter
and Actor:magnification-filter
properties.
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.
Linear interpolation filter
Nearest neighbor interpolation filter
Trilinear minification filter, with mipmap generation; this filter linearly interpolates on every axis, as well as between mipmap levels.
Trait Implementations
impl Clone for ScalingFilter
[src]
impl Clone for ScalingFilter
[src]fn clone(&self) -> ScalingFilter
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for ScalingFilter
[src]
impl Copy for ScalingFilter
[src]impl Eq for ScalingFilter
[src]
impl Eq for ScalingFilter
[src]impl<'a> FromValue<'a> for ScalingFilter
[src]
impl<'a> FromValue<'a> for ScalingFilter
[src]unsafe fn from_value(value: &Value) -> Self
[src]
impl<'a> FromValueOptional<'a> for ScalingFilter
[src]
impl<'a> FromValueOptional<'a> for ScalingFilter
[src]unsafe fn from_value_optional(value: &Value) -> Option<Self>
[src]
impl Hash for ScalingFilter
[src]
impl Hash for ScalingFilter
[src]impl Ord for ScalingFilter
[src]
impl Ord for ScalingFilter
[src]impl PartialEq<ScalingFilter> for ScalingFilter
[src]
impl PartialEq<ScalingFilter> for ScalingFilter
[src]fn eq(&self, other: &ScalingFilter) -> bool
[src]
fn ne(&self, other: &ScalingFilter) -> bool
[src]
impl PartialOrd<ScalingFilter> for ScalingFilter
[src]
impl PartialOrd<ScalingFilter> for ScalingFilter
[src]fn partial_cmp(&self, other: &ScalingFilter) -> 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 StaticType for ScalingFilter
[src]
impl StaticType for ScalingFilter
[src]fn static_type() -> Type
[src]
impl StructuralEq for ScalingFilter
[src]
impl StructuralEq for ScalingFilter
[src]impl StructuralPartialEq for ScalingFilter
[src]
impl StructuralPartialEq for ScalingFilter
[src]Auto Trait Implementations
impl RefUnwindSafe for ScalingFilter
impl RefUnwindSafe for ScalingFilter
impl Send for ScalingFilter
impl Send for ScalingFilter
impl Sync for ScalingFilter
impl Sync for ScalingFilter
impl Unpin for ScalingFilter
impl Unpin for ScalingFilter
impl UnwindSafe for ScalingFilter
impl UnwindSafe for ScalingFilter
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>,