pub struct TextureConfig { /* private fields */ }
Implementations§
Source§impl TextureConfig
impl TextureConfig
pub fn with_pixellated_mangification(self) -> Self
pub fn with_blurred_magnification(self) -> Self
pub fn without_filter(self) -> Self
pub fn with_bilinear_filtering_no_mipmaps(self) -> Self
pub fn with_unfiltered_mipmap(self) -> Self
pub fn with_bilinear_filtering(self) -> Self
pub fn with_trilinear_filtering(self) -> Self
pub fn with_rgba(self) -> Self
pub fn with_rgb(self) -> Self
Trait Implementations§
Source§impl Clone for TextureConfig
impl Clone for TextureConfig
Source§fn clone(&self) -> TextureConfig
fn clone(&self) -> TextureConfig
Returns a duplicate 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 TextureConfig
impl Debug for TextureConfig
Source§impl Default for TextureConfig
impl Default for TextureConfig
Source§impl Hash for TextureConfig
impl Hash for TextureConfig
Source§impl PartialEq for TextureConfig
impl PartialEq for TextureConfig
impl Eq for TextureConfig
impl StructuralPartialEq for TextureConfig
Auto Trait Implementations§
impl Freeze for TextureConfig
impl RefUnwindSafe for TextureConfig
impl Send for TextureConfig
impl Sync for TextureConfig
impl Unpin for TextureConfig
impl UnwindSafe for TextureConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more