pub struct Radius {
pub sm: f32,
pub md: f32,
pub lg: f32,
}Expand description
Corner radii, smallest to largest. A box uses the md value unless it is
told otherwise, so a theme sets three and a view picks one.
Fields§
§sm: f32§md: f32§lg: f32Implementations§
Trait Implementations§
impl Copy for Radius
Source§impl<'de> Deserialize<'de> for Radius
impl<'de> Deserialize<'de> for Radius
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Radius
Auto Trait Implementations§
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