pub enum GradientSize {
ClosestSide,
ClosestCorner,
FarthestSide,
FarthestCorner,
}Expand description
How far a radial gradient reaches.
Variants§
ClosestSide
To the nearest side.
ClosestCorner
To the nearest corner.
FarthestSide
To the farthest side.
FarthestCorner
To the farthest corner (CSS default).
Trait Implementations§
Source§impl Clone for GradientSize
impl Clone for GradientSize
impl Copy for GradientSize
Source§impl Debug for GradientSize
impl Debug for GradientSize
impl Eq for GradientSize
Source§impl PartialEq for GradientSize
impl PartialEq for GradientSize
impl StructuralPartialEq for GradientSize
Auto Trait Implementations§
impl Forget for GradientSize
impl Freeze for GradientSize
impl Move for GradientSize
impl RefUnwindSafe for GradientSize
impl Send for GradientSize
impl Sync for GradientSize
impl Unpin for GradientSize
impl UnsafeUnpin for GradientSize
impl UnwindSafe for GradientSize
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