Struct epaint::textures::TextureOptions
source · pub struct TextureOptions {
pub magnification: TextureFilter,
pub minification: TextureFilter,
}
Expand description
How the texture texels are filtered.
Fields§
§magnification: TextureFilter
How to filter when magnifying (when texels are larger than pixels).
minification: TextureFilter
How to filter when minifying (when texels are smaller than pixels).
Implementations§
Trait Implementations§
source§impl Clone for TextureOptions
impl Clone for TextureOptions
source§fn clone(&self) -> TextureOptions
fn clone(&self) -> TextureOptions
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 moresource§impl Debug for TextureOptions
impl Debug for TextureOptions
source§impl Default for TextureOptions
impl Default for TextureOptions
source§impl Hash for TextureOptions
impl Hash for TextureOptions
source§impl PartialEq<TextureOptions> for TextureOptions
impl PartialEq<TextureOptions> for TextureOptions
source§fn eq(&self, other: &TextureOptions) -> bool
fn eq(&self, other: &TextureOptions) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.