Struct tiny_skia::pipeline::SamplerCtx
source · pub struct SamplerCtx {
pub spread_mode: SpreadMode,
pub inv_width: f32,
pub inv_height: f32,
}
Fields§
§spread_mode: SpreadMode
§inv_width: f32
§inv_height: f32
Trait Implementations§
source§impl Clone for SamplerCtx
impl Clone for SamplerCtx
source§fn clone(&self) -> SamplerCtx
fn clone(&self) -> SamplerCtx
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 SamplerCtx
impl Debug for SamplerCtx
source§impl Default for SamplerCtx
impl Default for SamplerCtx
source§fn default() -> SamplerCtx
fn default() -> SamplerCtx
Returns the “default value” for a type. Read more
impl Copy for SamplerCtx
Auto Trait Implementations§
impl Freeze for SamplerCtx
impl RefUnwindSafe for SamplerCtx
impl Send for SamplerCtx
impl Sync for SamplerCtx
impl Unpin for SamplerCtx
impl UnwindSafe for SamplerCtx
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)