pub struct ResolvedShadow {
pub layers: Vec<ResolvedShadowLayer>,
}Expand description
A resolved shadow: an ordered list of layers. Blur is clamped to >= 0.
Layer-color existence and type are checked in a second pass over the
fully-resolved token map (exactly like gradient stops).
Fields§
§layers: Vec<ResolvedShadowLayer>Ordered list of resolved layers, in source order.
Trait Implementations§
Source§impl Clone for ResolvedShadow
impl Clone for ResolvedShadow
Source§fn clone(&self) -> ResolvedShadow
fn clone(&self) -> ResolvedShadow
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 ResolvedShadow
impl Debug for ResolvedShadow
Source§impl PartialEq for ResolvedShadow
impl PartialEq for ResolvedShadow
Source§fn eq(&self, other: &ResolvedShadow) -> bool
fn eq(&self, other: &ResolvedShadow) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ResolvedShadow
Auto Trait Implementations§
impl Freeze for ResolvedShadow
impl RefUnwindSafe for ResolvedShadow
impl Send for ResolvedShadow
impl Sync for ResolvedShadow
impl Unpin for ResolvedShadow
impl UnsafeUnpin for ResolvedShadow
impl UnwindSafe for ResolvedShadow
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