pub struct Radii {
pub sm: f32,
pub md: f32,
pub lg: f32,
pub xl: f32,
pub full: f32,
}Expand description
Corner radii (radius-* tokens).
Fields§
§sm: f32radius-sm: small controls, in logical pixels.
md: f32radius-md: buttons and inputs, in logical pixels.
lg: f32radius-lg: cards, in logical pixels.
xl: f32radius-xl: sheets and large panels, in logical pixels.
full: f32radius-full: pill and circle shapes.
Implementations§
Trait Implementations§
impl Copy for Radii
impl StructuralPartialEq for Radii
Auto Trait Implementations§
impl Freeze for Radii
impl RefUnwindSafe for Radii
impl Send for Radii
impl Sync for Radii
impl Unpin for Radii
impl UnsafeUnpin for Radii
impl UnwindSafe for Radii
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