pub struct ShadowRecipe {
pub offset: Vec2,
pub blur: f32,
pub spread: f32,
pub color: RecipeColor,
}Fields§
§offset: Vec2§blur: f32§spread: f32§color: RecipeColorImplementations§
Source§impl ShadowRecipe
impl ShadowRecipe
Trait Implementations§
Source§impl Clone for ShadowRecipe
impl Clone for ShadowRecipe
Source§fn clone(&self) -> ShadowRecipe
fn clone(&self) -> ShadowRecipe
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 ShadowRecipe
Source§impl Debug for ShadowRecipe
impl Debug for ShadowRecipe
Source§impl<'de> Deserialize<'de> for ShadowRecipe
impl<'de> Deserialize<'de> for ShadowRecipe
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 ShadowRecipe
impl PartialEq for ShadowRecipe
Source§impl Serialize for ShadowRecipe
impl Serialize for ShadowRecipe
impl StructuralPartialEq for ShadowRecipe
Auto Trait Implementations§
impl Freeze for ShadowRecipe
impl RefUnwindSafe for ShadowRecipe
impl Send for ShadowRecipe
impl Sync for ShadowRecipe
impl Unpin for ShadowRecipe
impl UnsafeUnpin for ShadowRecipe
impl UnwindSafe for ShadowRecipe
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