Struct webrender_api::display_item::BoxShadowDisplayItem
source · 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)