Struct skia_bindings::SkSamplingOptions
source · #[repr(C)]pub struct SkSamplingOptions {
pub maxAniso: c_int,
pub useCubic: bool,
pub cubic: SkCubicResampler,
pub filter: SkFilterMode,
pub mipmap: SkMipmapMode,
}
Fields§
§maxAniso: c_int
§useCubic: bool
§cubic: SkCubicResampler
§filter: SkFilterMode
§mipmap: SkMipmapMode
Trait Implementations§
source§impl Clone for SkSamplingOptions
impl Clone for SkSamplingOptions
source§fn clone(&self) -> SkSamplingOptions
fn clone(&self) -> SkSamplingOptions
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 SkSamplingOptions
impl Debug for SkSamplingOptions
impl Copy for SkSamplingOptions
Auto Trait Implementations§
impl RefUnwindSafe for SkSamplingOptions
impl Send for SkSamplingOptions
impl Sync for SkSamplingOptions
impl Unpin for SkSamplingOptions
impl UnwindSafe for SkSamplingOptions
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