pub struct BoxShadowDisplayItem {
pub common: CommonItemProperties,
pub box_bounds: LayoutRect,
pub offset: LayoutVector2D,
pub color: ColorF,
pub blur_radius: f32,
pub spread_radius: f32,
pub border_radius: BorderRadius,
pub clip_mode: BoxShadowClipMode,
}
Fields§
§common: CommonItemProperties
§box_bounds: LayoutRect
§offset: LayoutVector2D
§color: ColorF
§blur_radius: f32
§spread_radius: f32
§border_radius: BorderRadius
§clip_mode: BoxShadowClipMode
Trait Implementations§
Source§impl Clone for BoxShadowDisplayItem
impl Clone for BoxShadowDisplayItem
Source§fn clone(&self) -> BoxShadowDisplayItem
fn clone(&self) -> BoxShadowDisplayItem
Returns a copy of the value. Read more
1.0.0 · 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 BoxShadowDisplayItem
impl Debug for BoxShadowDisplayItem
Source§impl Default for BoxShadowDisplayItem
impl Default for BoxShadowDisplayItem
Source§fn default() -> BoxShadowDisplayItem
fn default() -> BoxShadowDisplayItem
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BoxShadowDisplayItem
impl<'de> Deserialize<'de> for BoxShadowDisplayItem
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for BoxShadowDisplayItem
impl PartialEq for BoxShadowDisplayItem
Source§impl Peek for BoxShadowDisplayItem
impl Peek for BoxShadowDisplayItem
Source§impl Poke for BoxShadowDisplayItem
impl Poke for BoxShadowDisplayItem
Source§impl Serialize for BoxShadowDisplayItem
impl Serialize for BoxShadowDisplayItem
impl Copy for BoxShadowDisplayItem
impl StructuralPartialEq for BoxShadowDisplayItem
Auto Trait Implementations§
impl Freeze for BoxShadowDisplayItem
impl RefUnwindSafe for BoxShadowDisplayItem
impl Send for BoxShadowDisplayItem
impl Sync for BoxShadowDisplayItem
impl Unpin for BoxShadowDisplayItem
impl UnwindSafe for BoxShadowDisplayItem
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