Enum ggez::graphics::FilterMode
[−]
[src]
pub enum FilterMode {
Linear,
Nearest,
}Specifies what blending method to use when scaling up/down images.
Variants
LinearUse linear interpolation
NearestUse nearest-neighbor interpolation
Trait Implementations
impl Debug for FilterMode[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more
impl Copy for FilterMode[src]
impl Clone for FilterMode[src]
fn clone(&self) -> FilterMode[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl From<FilterMethod> for FilterMode[src]
impl From<FilterMode> for FilterMethod[src]
fn from(f: FilterMode) -> Self[src]
Performs the conversion.