#[repr(u8)]pub enum ImageRendering {
Auto = 0,
CrispEdges = 1,
Pixelated = 2,
}
Variants§
Trait Implementations§
Source§impl Clone for ImageRendering
impl Clone for ImageRendering
Source§fn clone(&self) -> ImageRendering
fn clone(&self) -> ImageRendering
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 ImageRendering
impl Debug for ImageRendering
Source§impl Default for ImageRendering
impl Default for ImageRendering
Source§impl<'de> Deserialize<'de> for ImageRendering
impl<'de> Deserialize<'de> for ImageRendering
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 Hash for ImageRendering
impl Hash for ImageRendering
Source§impl MallocSizeOf for ImageRendering
impl MallocSizeOf for ImageRendering
Source§fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize
fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize
Measure the heap usage of all descendant heap-allocated structures, but
not the space taken up by the value itself.
Source§impl PartialEq for ImageRendering
impl PartialEq for ImageRendering
Source§impl Peek for ImageRendering
impl Peek for ImageRendering
Source§impl Poke for ImageRendering
impl Poke for ImageRendering
Source§impl Serialize for ImageRendering
impl Serialize for ImageRendering
impl Copy for ImageRendering
impl Eq for ImageRendering
impl StructuralPartialEq for ImageRendering
Auto Trait Implementations§
impl Freeze for ImageRendering
impl RefUnwindSafe for ImageRendering
impl Send for ImageRendering
impl Sync for ImageRendering
impl Unpin for ImageRendering
impl UnwindSafe for ImageRendering
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