pub enum MagFilter {
Nearest = 1,
Linear = 2,
}
Expand description
Magnification filter.
Variants§
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for MagFilter
impl<'de> Deserialize<'de> for MagFilter
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<MagFilter, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<MagFilter, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for MagFilter
impl PartialEq for MagFilter
source§impl Serialize for MagFilter
impl Serialize for MagFilter
source§fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Copy for MagFilter
impl Eq for MagFilter
impl StructuralEq for MagFilter
impl StructuralPartialEq for MagFilter
Auto Trait Implementations§
impl RefUnwindSafe for MagFilter
impl Send for MagFilter
impl Sync for MagFilter
impl Unpin for MagFilter
impl UnwindSafe for MagFilter
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