pub struct RadialGradientLayer {
pub color: Color,
pub alpha: f32,
pub center_x: f32,
pub center_y: f32,
pub radius: f32,
}Fields§
§color: Color§alpha: f32§center_x: f32§center_y: f32§radius: f32Implementations§
Trait Implementations§
Source§impl Clone for RadialGradientLayer
impl Clone for RadialGradientLayer
Source§fn clone(&self) -> RadialGradientLayer
fn clone(&self) -> RadialGradientLayer
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 RadialGradientLayer
Source§impl Debug for RadialGradientLayer
impl Debug for RadialGradientLayer
Source§impl PartialEq for RadialGradientLayer
impl PartialEq for RadialGradientLayer
impl StructuralPartialEq for RadialGradientLayer
Auto Trait Implementations§
impl Freeze for RadialGradientLayer
impl RefUnwindSafe for RadialGradientLayer
impl Send for RadialGradientLayer
impl Sync for RadialGradientLayer
impl Unpin for RadialGradientLayer
impl UnsafeUnpin for RadialGradientLayer
impl UnwindSafe for RadialGradientLayer
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