Enum luminance::texture::Filter [] [src]

pub enum Filter {
    Nearest,
    Linear,
}

Minification and magnification filter.

Variants

Nearest

Clamp to nearest pixel.

Linear

Linear interpolation with surrounding pixels.

Trait Implementations

impl Debug for Filter
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Copy for Filter
[src]

impl Clone for Filter
[src]

fn clone(&self) -> Filter

Returns a copy of the value. Read more

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

Performs copy-assignment from source. Read more