pub struct Shadow {
pub colour: [f32; 4],
pub offset: [f32; 2],
pub blur: f32,
}Fields§
§colour: [f32; 4]§offset: [f32; 2]Offset in px at frame_size.
blur: f32Blur radius in px at frame_size.
Trait Implementations§
impl StructuralPartialEq for Shadow
Auto Trait Implementations§
impl Forget for Shadow
impl Freeze for Shadow
impl RefUnwindSafe for Shadow
impl Send for Shadow
impl Sync for Shadow
impl Unpin for Shadow
impl UnsafeUnpin 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