#[repr(C)]pub enum RadialGradientSize {
ClosestSide = 0,
ClosestCorner = 1,
FarthestSide = 2,
FarthestCorner = 3,
}Expand description
The sizing keyword for a radial gradient (e.g. closest-side, farthest-corner).
Variants§
Trait Implementations§
Source§impl Clone for RadialGradientSize
impl Clone for RadialGradientSize
Source§fn clone(&self) -> RadialGradientSize
fn clone(&self) -> RadialGradientSize
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 moreSource§impl Debug for RadialGradientSize
impl Debug for RadialGradientSize
Source§impl Default for RadialGradientSize
impl Default for RadialGradientSize
Source§fn default() -> RadialGradientSize
fn default() -> RadialGradientSize
Returns the “default value” for a type. Read more
Source§impl Display for RadialGradientSize
impl Display for RadialGradientSize
Source§impl Hash for RadialGradientSize
impl Hash for RadialGradientSize
Source§impl Ord for RadialGradientSize
impl Ord for RadialGradientSize
Source§fn cmp(&self, other: &RadialGradientSize) -> Ordering
fn cmp(&self, other: &RadialGradientSize) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for RadialGradientSize
impl PartialEq for RadialGradientSize
Source§fn eq(&self, other: &RadialGradientSize) -> bool
fn eq(&self, other: &RadialGradientSize) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for RadialGradientSize
impl PartialOrd for RadialGradientSize
impl Eq for RadialGradientSize
impl StructuralPartialEq for RadialGradientSize
Auto Trait Implementations§
impl Freeze for RadialGradientSize
impl RefUnwindSafe for RadialGradientSize
impl Send for RadialGradientSize
impl Sync for RadialGradientSize
impl Unpin for RadialGradientSize
impl UnsafeUnpin for RadialGradientSize
impl UnwindSafe for RadialGradientSize
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