pub struct TextureEffect {
pub noise_size: f64,
pub radius: f64,
pub clip_to_shape: bool,
}
Expand description
TextureEffect : A texture effect
Fields§
§noise_size: f64
The size of the texture effect
radius: f64
The radius of the texture effect
clip_to_shape: bool
Whether the texture is clipped to the shape
Implementations§
Source§impl TextureEffect
impl TextureEffect
Trait Implementations§
Source§impl Clone for TextureEffect
impl Clone for TextureEffect
Source§fn clone(&self) -> TextureEffect
fn clone(&self) -> TextureEffect
Returns a duplicate 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 TextureEffect
impl Debug for TextureEffect
Source§impl Default for TextureEffect
impl Default for TextureEffect
Source§fn default() -> TextureEffect
fn default() -> TextureEffect
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TextureEffect
impl<'de> Deserialize<'de> for TextureEffect
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 TextureEffect
impl PartialEq for TextureEffect
Source§impl Serialize for TextureEffect
impl Serialize for TextureEffect
impl StructuralPartialEq for TextureEffect
Auto Trait Implementations§
impl Freeze for TextureEffect
impl RefUnwindSafe for TextureEffect
impl Send for TextureEffect
impl Sync for TextureEffect
impl Unpin for TextureEffect
impl UnwindSafe for TextureEffect
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