Struct rootvg_quad::Shadow
source · pub struct Shadow {
pub color: PackedSrgb,
pub offset: Point,
pub blur_radius: f32,
}Expand description
A shadow.
Fields§
§color: PackedSrgbThe color of the shadow.
offset: PointThe offset of the shadow in logical points.
blur_radius: f32The blur radius of the shadow in logical points.
Trait Implementations§
source§impl PartialEq for Shadow
impl PartialEq for Shadow
impl Copy for Shadow
impl StructuralPartialEq for Shadow
Auto Trait Implementations§
impl Freeze for Shadow
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