pub struct ImageSampling { /* private fields */ }Implementations§
Source§impl ImageSampling
impl ImageSampling
pub fn linear() -> Self
pub fn nearest() -> Self
pub fn linear_mipmap_nearest() -> Self
pub fn linear_mipmap_linear() -> Self
pub fn cubic_mitchell() -> Self
pub fn cubic_catmull_rom() -> Self
pub fn anisotropic(max_aniso: u32) -> Self
pub fn new(kind: ImageSamplingMode, max_aniso: u32) -> Self
pub fn kind(self) -> ImageSamplingMode
pub fn max_aniso(self) -> u32
Trait Implementations§
Source§impl Clone for ImageSampling
impl Clone for ImageSampling
Source§fn clone(&self) -> ImageSampling
fn clone(&self) -> ImageSampling
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ImageSampling
Source§impl Debug for ImageSampling
impl Debug for ImageSampling
impl Eq for ImageSampling
Source§impl PartialEq for ImageSampling
impl PartialEq for ImageSampling
impl StructuralPartialEq for ImageSampling
Auto Trait Implementations§
impl Freeze for ImageSampling
impl RefUnwindSafe for ImageSampling
impl Send for ImageSampling
impl Sync for ImageSampling
impl Unpin for ImageSampling
impl UnsafeUnpin for ImageSampling
impl UnwindSafe for ImageSampling
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