pub struct ImmutableDropShadowEffect { /* private fields */ }Expand description
An immutable drop shadow effect.
Implementations§
Trait Implementations§
Source§impl Clone for ImmutableDropShadowEffect
impl Clone for ImmutableDropShadowEffect
impl Copy for ImmutableDropShadowEffect
Source§impl Debug for ImmutableDropShadowEffect
impl Debug for ImmutableDropShadowEffect
Source§impl IDropShadowEffect for ImmutableDropShadowEffect
impl IDropShadowEffect for ImmutableDropShadowEffect
Source§fn blur_radius(&self) -> f64
fn blur_radius(&self) -> f64
The blur radius of the shadow.
Source§impl IEffect for ImmutableDropShadowEffect
impl IEffect for ImmutableDropShadowEffect
Source§fn as_any(&self) -> &dyn Any
fn as_any(&self) -> &dyn Any
The implementing value, for downcasts to immutable effect types. For
mutable effects use
as_object.Source§fn as_drop_shadow_effect(&self) -> Option<&dyn IDropShadowEffect>
fn as_drop_shadow_effect(&self) -> Option<&dyn IDropShadowEffect>
The effect viewed as
IDropShadowEffect, when it is one.Source§fn as_immutable_effect(&self) -> Option<&dyn IImmutableEffect>
fn as_immutable_effect(&self) -> Option<&dyn IImmutableEffect>
The effect viewed as
IImmutableEffect, when it is one.Source§fn into_immutable_effect(self: Rc<Self>) -> Option<Arc<dyn IImmutableEffect>>
fn into_immutable_effect(self: Rc<Self>) -> Option<Arc<dyn IImmutableEffect>>
The effect as an
IImmutableEffect handle, when it is immutable: a
copy in a handle that can be shared with the render thread (immutable
effects are values and compare structurally).Source§fn as_object(&self) -> Option<&FerroObject>
fn as_object(&self) -> Option<&FerroObject>
The object behind the effect when it is a mutable
Effect.Source§fn as_blur_effect(&self) -> Option<&dyn IBlurEffect>
fn as_blur_effect(&self) -> Option<&dyn IBlurEffect>
The effect viewed as
IBlurEffect, when it is one.Source§fn as_direction_drop_shadow_effect(
&self,
) -> Option<&dyn IDirectionDropShadowEffect>
fn as_direction_drop_shadow_effect( &self, ) -> Option<&dyn IDirectionDropShadowEffect>
The effect viewed as
IDirectionDropShadowEffect, when it is one.Source§fn as_mutable_effect(&self) -> Option<&dyn IMutableEffect>
fn as_mutable_effect(&self) -> Option<&dyn IMutableEffect>
The effect viewed as
IMutableEffect, when it is one.Auto Trait Implementations§
impl Freeze for ImmutableDropShadowEffect
impl RefUnwindSafe for ImmutableDropShadowEffect
impl Send for ImmutableDropShadowEffect
impl Sync for ImmutableDropShadowEffect
impl Unpin for ImmutableDropShadowEffect
impl UnsafeUnpin for ImmutableDropShadowEffect
impl UnwindSafe for ImmutableDropShadowEffect
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> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more