pub struct BlurTapPair {
pub inner: f32,
pub outer: f32,
pub offset: f32,
pub weight: f32,
}Expand description
One pair of kernel taps on one side of the pixel: the Gaussian weights of
the inner and outer tap, and the one bilinear fetch that stands for both,
its offset in taps from the pixel and its weight their sum. The outer
weight is zero past an odd tap count, which leaves the fetch on the inner
tap alone.
Fields§
§inner: f32§outer: f32§offset: f32§weight: f32Trait Implementations§
Source§impl Clone for BlurTapPair
impl Clone for BlurTapPair
Source§fn clone(&self) -> BlurTapPair
fn clone(&self) -> BlurTapPair
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 BlurTapPair
Source§impl Debug for BlurTapPair
impl Debug for BlurTapPair
Source§impl Default for BlurTapPair
impl Default for BlurTapPair
Source§fn default() -> BlurTapPair
fn default() -> BlurTapPair
Returns the “default value” for a type. Read more
Source§impl PartialEq for BlurTapPair
impl PartialEq for BlurTapPair
impl StructuralPartialEq for BlurTapPair
Auto Trait Implementations§
impl Freeze for BlurTapPair
impl RefUnwindSafe for BlurTapPair
impl Send for BlurTapPair
impl Sync for BlurTapPair
impl Unpin for BlurTapPair
impl UnsafeUnpin for BlurTapPair
impl UnwindSafe for BlurTapPair
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