pub struct Blur {
pub radius: f32,
}Fields§
§radius: f32Implementations§
Trait Implementations§
impl Copy for Blur
Source§impl ShaderEffect for Blur
impl ShaderEffect for Blur
const WGSL: &'static str = PASSTHROUGH_WGSL
const INPUTS: Inputs = Inputs::CONTENT
fn content_blur(&self) -> f32
const CLOCK: Option<usize> = None
fn uniforms(&self, _uniforms: &mut [f32; 16])
fn margin(&self) -> f32
fn backdrop_blur(&self) -> f32
fn backdrop_reach(&self) -> Option<f32>
impl StructuralPartialEq for Blur
Auto Trait Implementations§
impl Forget for Blur
impl Freeze for Blur
impl Move for Blur
impl RefUnwindSafe for Blur
impl Send for Blur
impl Sync for Blur
impl Unpin for Blur
impl UnsafeUnpin for Blur
impl UnwindSafe for Blur
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