pub enum ImageFiltering {
Nearest,
Linear,
Bilinear,
}Variants§
Implementations§
Trait Implementations§
source§impl Clone for ImageFiltering
impl Clone for ImageFiltering
source§fn clone(&self) -> ImageFiltering
fn clone(&self) -> ImageFiltering
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for ImageFiltering
impl Debug for ImageFiltering
source§impl Default for ImageFiltering
impl Default for ImageFiltering
source§impl<'de> Deserialize<'de> for ImageFiltering
impl<'de> Deserialize<'de> for ImageFiltering
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<ImageFiltering> for ImageFiltering
impl PartialEq<ImageFiltering> for ImageFiltering
source§fn eq(&self, other: &ImageFiltering) -> bool
fn eq(&self, other: &ImageFiltering) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for ImageFiltering
impl Serialize for ImageFiltering
impl Copy for ImageFiltering
impl Eq for ImageFiltering
impl StructuralEq for ImageFiltering
impl StructuralPartialEq for ImageFiltering
Auto Trait Implementations§
impl RefUnwindSafe for ImageFiltering
impl Send for ImageFiltering
impl Sync for ImageFiltering
impl Unpin for ImageFiltering
impl UnwindSafe for ImageFiltering
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<T> Initialize for Twhere
T: Default,
impl<T> Initialize for Twhere T: Default,
fn initialize(&mut self)
§unsafe fn initialize_raw(data: *mut ())
unsafe fn initialize_raw(data: *mut ())
Safety Read more