pub struct Shadow {
pub color: Color,
pub offset: Vector,
pub blur_radius: f32,
}
Expand description
A shadow.
Fields§
§color: Color
The color of the shadow.
offset: Vector
The offset of the shadow.
blur_radius: f32
The blur radius of the shadow.
Trait Implementations§
source§impl PartialEq for Shadow
impl PartialEq for Shadow
impl Copy for Shadow
impl StructuralPartialEq for Shadow
Auto Trait Implementations§
impl RefUnwindSafe for Shadow
impl Send for Shadow
impl Sync for Shadow
impl Unpin for Shadow
impl UnwindSafe for Shadow
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