Enum webrender_api::ImageRendering
source · #[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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)