pub struct BackgroundBlurEffect {
pub visible: bool,
pub radius: f64,
}
Fields§
§visible: bool
Whether this effect is visible
radius: f64
The blur radius
Implementations§
Source§impl BackgroundBlurEffect
impl BackgroundBlurEffect
pub fn new(visible: bool, radius: f64) -> BackgroundBlurEffect
Trait Implementations§
Source§impl Clone for BackgroundBlurEffect
impl Clone for BackgroundBlurEffect
Source§fn clone(&self) -> BackgroundBlurEffect
fn clone(&self) -> BackgroundBlurEffect
Returns a duplicate 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 BackgroundBlurEffect
impl Debug for BackgroundBlurEffect
Source§impl Default for BackgroundBlurEffect
impl Default for BackgroundBlurEffect
Source§fn default() -> BackgroundBlurEffect
fn default() -> BackgroundBlurEffect
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BackgroundBlurEffect
impl<'de> Deserialize<'de> for BackgroundBlurEffect
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for BackgroundBlurEffect
impl PartialEq for BackgroundBlurEffect
Source§impl Serialize for BackgroundBlurEffect
impl Serialize for BackgroundBlurEffect
impl StructuralPartialEq for BackgroundBlurEffect
Auto Trait Implementations§
impl Freeze for BackgroundBlurEffect
impl RefUnwindSafe for BackgroundBlurEffect
impl Send for BackgroundBlurEffect
impl Sync for BackgroundBlurEffect
impl Unpin for BackgroundBlurEffect
impl UnwindSafe for BackgroundBlurEffect
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