#[non_exhaustive]pub enum Radius {
Dip(u16),
Percent(u16),
}Expand description
rounded corners of a theme: every corner radius that is not a pill becomes this many DIP, or the style’s radius scaled by this percentage
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
impl Copy for Radius
impl Eq for Radius
impl StructuralPartialEq for Radius
Auto Trait Implementations§
impl Forget for Radius
impl Freeze for Radius
impl RefUnwindSafe for Radius
impl Send for Radius
impl Sync for Radius
impl Unpin for Radius
impl UnsafeUnpin for Radius
impl UnwindSafe for Radius
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