Enum freya_engine::prelude::FilterMode
#[repr(i32)]pub enum FilterMode {
Nearest = 0,
Linear = 1,
}
Variants§
Implementations§
§impl SkFilterMode
impl SkFilterMode
pub const Last: SkFilterMode = SkFilterMode::Linear
Trait Implementations§
§impl Clone for SkFilterMode
impl Clone for SkFilterMode
§fn clone(&self) -> SkFilterMode
fn clone(&self) -> SkFilterMode
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 more§impl Debug for SkFilterMode
impl Debug for SkFilterMode
§impl From<SkFilterMode> for SamplingOptions
impl From<SkFilterMode> for SamplingOptions
§fn from(fm: SkFilterMode) -> SamplingOptions
fn from(fm: SkFilterMode) -> SamplingOptions
Converts to this type from the input type.
§impl Hash for SkFilterMode
impl Hash for SkFilterMode
§impl PartialEq for SkFilterMode
impl PartialEq for SkFilterMode
impl Copy for SkFilterMode
impl Eq for SkFilterMode
impl StructuralPartialEq for SkFilterMode
Auto Trait Implementations§
impl Freeze for SkFilterMode
impl RefUnwindSafe for SkFilterMode
impl Send for SkFilterMode
impl Sync for SkFilterMode
impl Unpin for SkFilterMode
impl UnwindSafe for SkFilterMode
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
)