pub enum RadialSize {
Extent(RadialExtent),
Circular(Length),
Elliptical(LengthPercentage, LengthPercentage),
}Expand description
https://drafts.csswg.org/css-images-3/#typedef-radial-size
<radial-size> = <radial-extent> | <length [0,∞]> | <length-percentage [0,∞]>{2}
<radial-extent> = closest-corner | closest-side | farthest-corner | farthest-sideVariants§
Trait Implementations§
Source§impl Clone for RadialSize
impl Clone for RadialSize
Source§fn clone(&self) -> RadialSize
fn clone(&self) -> RadialSize
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 RadialSize
impl Debug for RadialSize
Source§impl Hash for RadialSize
impl Hash for RadialSize
Source§impl Ord for RadialSize
impl Ord for RadialSize
Source§fn cmp(&self, other: &RadialSize) -> Ordering
fn cmp(&self, other: &RadialSize) -> Ordering
1.21.0 · 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<'a> Parse<'a> for RadialSize
impl<'a> Parse<'a> for RadialSize
Source§impl PartialEq for RadialSize
impl PartialEq for RadialSize
Source§impl PartialOrd for RadialSize
impl PartialOrd for RadialSize
Source§impl<'a> Peek<'a> for RadialSize
impl<'a> Peek<'a> for RadialSize
Source§impl ToCursors for RadialSize
impl ToCursors for RadialSize
fn to_cursors(&self, s: &mut impl CursorSink)
impl Copy for RadialSize
impl Eq for RadialSize
impl StructuralPartialEq for RadialSize
Auto Trait Implementations§
impl Freeze for RadialSize
impl RefUnwindSafe for RadialSize
impl Send for RadialSize
impl Sync for RadialSize
impl Unpin for RadialSize
impl UnwindSafe for RadialSize
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