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