pub struct ImmutableDropShadowDirectionEffect { /* private fields */ }Expand description
An immutable drop shadow effect described by a direction and a depth.
Implementations§
Source§impl ImmutableDropShadowDirectionEffect
impl ImmutableDropShadowDirectionEffect
Trait Implementations§
impl Copy for ImmutableDropShadowDirectionEffect
Source§impl IDropShadowEffect for ImmutableDropShadowDirectionEffect
impl IDropShadowEffect for ImmutableDropShadowDirectionEffect
Source§fn blur_radius(&self) -> f64
fn blur_radius(&self) -> f64
The blur radius of the shadow.
Source§impl IEffect for ImmutableDropShadowDirectionEffect
impl IEffect for ImmutableDropShadowDirectionEffect
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_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_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_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 ImmutableDropShadowDirectionEffect
impl RefUnwindSafe for ImmutableDropShadowDirectionEffect
impl Send for ImmutableDropShadowDirectionEffect
impl Sync for ImmutableDropShadowDirectionEffect
impl Unpin for ImmutableDropShadowDirectionEffect
impl UnsafeUnpin for ImmutableDropShadowDirectionEffect
impl UnwindSafe for ImmutableDropShadowDirectionEffect
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