#[repr(i32)]pub enum MipmapMode {
None = 0,
Nearest = 1,
Linear = 2,
}Variants§
Implementations§
Source§impl SkMipmapMode
impl SkMipmapMode
pub const Last: SkMipmapMode = SkMipmapMode::Linear
Trait Implementations§
Source§impl Clone for SkMipmapMode
impl Clone for SkMipmapMode
Source§fn clone(&self) -> SkMipmapMode
fn clone(&self) -> SkMipmapMode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SkMipmapMode
impl Debug for SkMipmapMode
Source§impl Hash for SkMipmapMode
impl Hash for SkMipmapMode
Source§impl PartialEq for SkMipmapMode
impl PartialEq for SkMipmapMode
Source§fn eq(&self, other: &SkMipmapMode) -> bool
fn eq(&self, other: &SkMipmapMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for SkMipmapMode
impl Eq for SkMipmapMode
impl StructuralPartialEq for SkMipmapMode
Auto Trait Implementations§
impl Freeze for SkMipmapMode
impl RefUnwindSafe for SkMipmapMode
impl Send for SkMipmapMode
impl Sync for SkMipmapMode
impl Unpin for SkMipmapMode
impl UnsafeUnpin for SkMipmapMode
impl UnwindSafe for SkMipmapMode
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