pub struct GlassShadow {
pub color: Color,
pub radius: f32,
pub offset_y: f32,
pub spread: f32,
}Expand description
Shadow owned by a glass surface. Morphing glass evaluates the same live SDF for this shadow; clipped static glass forwards the values to the layer shadow primitive.
Fields§
§color: Color§radius: f32§offset_y: f32§spread: f32Implementations§
Trait Implementations§
Source§impl Clone for GlassShadow
impl Clone for GlassShadow
Source§fn clone(&self) -> GlassShadow
fn clone(&self) -> GlassShadow
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 GlassShadow
Source§impl Debug for GlassShadow
impl Debug for GlassShadow
Source§impl PartialEq for GlassShadow
impl PartialEq for GlassShadow
impl StructuralPartialEq for GlassShadow
Auto Trait Implementations§
impl Freeze for GlassShadow
impl RefUnwindSafe for GlassShadow
impl Send for GlassShadow
impl Sync for GlassShadow
impl Unpin for GlassShadow
impl UnsafeUnpin for GlassShadow
impl UnwindSafe for GlassShadow
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