pub struct GaussianCache { /* private fields */ }Expand description
A cache that stores pre-computed Gaussian kernels keyed by blur-radius bits.
This avoids recomputing the same kernel when the same blur_radius is used
repeatedly across frames.
Implementations§
Source§impl GaussianCache
impl GaussianCache
Trait Implementations§
Source§impl Debug for GaussianCache
impl Debug for GaussianCache
Source§impl Default for GaussianCache
impl Default for GaussianCache
Source§fn default() -> GaussianCache
fn default() -> GaussianCache
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for GaussianCache
impl RefUnwindSafe for GaussianCache
impl Send for GaussianCache
impl Sync for GaussianCache
impl Unpin for GaussianCache
impl UnsafeUnpin for GaussianCache
impl UnwindSafe for GaussianCache
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more