pub struct BoxShadowCommand {
pub transform: Affine,
pub rect: Rect,
pub brush: Color,
pub radius: f64,
pub std_dev: f64,
}Expand description
Draw a box shadow around a box
Fields§
§transform: Affine§rect: Rect§brush: Color§radius: f64§std_dev: f64Trait Implementations§
Source§impl Clone for BoxShadowCommand
impl Clone for BoxShadowCommand
Source§fn clone(&self) -> BoxShadowCommand
fn clone(&self) -> BoxShadowCommand
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 moreSource§impl Debug for BoxShadowCommand
impl Debug for BoxShadowCommand
Source§impl PartialEq for BoxShadowCommand
impl PartialEq for BoxShadowCommand
impl StructuralPartialEq for BoxShadowCommand
Auto Trait Implementations§
impl Freeze for BoxShadowCommand
impl RefUnwindSafe for BoxShadowCommand
impl Send for BoxShadowCommand
impl Sync for BoxShadowCommand
impl Unpin for BoxShadowCommand
impl UnsafeUnpin for BoxShadowCommand
impl UnwindSafe for BoxShadowCommand
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