vizia::vg::sampling_options

Type Alias SamplingMode

pub type SamplingMode = SkFilterMode;
👎Deprecated since 0.38.0: Use FilterMode

Aliased Type§

enum SamplingMode {
    Nearest = 0,
    Linear = 1,
}

Variants§

§

Nearest = 0

§

Linear = 1

Implementations

§

impl SkFilterMode

pub const Last: SkFilterMode = SkFilterMode::Linear

Trait Implementations

§

impl Clone for SkFilterMode

§

fn clone(&self) -> SkFilterMode

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for SkFilterMode

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Hash for SkFilterMode

§

fn hash<__H>(&self, state: &mut __H)
where __H: Hasher,

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
§

impl PartialEq for SkFilterMode

§

fn eq(&self, other: &SkFilterMode) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
§

impl Copy for SkFilterMode

§

impl Eq for SkFilterMode

§

impl StructuralPartialEq for SkFilterMode