pub struct ShadowLayerConfig {
pub enabled: bool,
pub blur_radius: f32,
pub spread: f32,
pub offset_x: f32,
pub offset_y: f32,
pub color: ShadowColor,
}Fields§
§enabled: bool§blur_radius: f32§spread: f32§offset_x: f32§offset_y: f32§color: ShadowColorTrait Implementations§
Source§impl Clone for ShadowLayerConfig
impl Clone for ShadowLayerConfig
Source§fn clone(&self) -> ShadowLayerConfig
fn clone(&self) -> ShadowLayerConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ShadowLayerConfig
Source§impl Debug for ShadowLayerConfig
impl Debug for ShadowLayerConfig
Source§impl PartialEq for ShadowLayerConfig
impl PartialEq for ShadowLayerConfig
Source§fn eq(&self, other: &ShadowLayerConfig) -> bool
fn eq(&self, other: &ShadowLayerConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ShadowLayerConfig
Auto Trait Implementations§
impl Freeze for ShadowLayerConfig
impl RefUnwindSafe for ShadowLayerConfig
impl Send for ShadowLayerConfig
impl Sync for ShadowLayerConfig
impl Unpin for ShadowLayerConfig
impl UnsafeUnpin for ShadowLayerConfig
impl UnwindSafe for ShadowLayerConfig
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