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