pub struct Rounding {
pub nw: f32,
pub ne: f32,
pub sw: f32,
pub se: f32,
}
Expand description
How rounded the corners of things should be
Fields§
§nw: f32
Radius of the rounding of the North-West (left top) corner.
ne: f32
Radius of the rounding of the North-East (right top) corner.
sw: f32
Radius of the rounding of the South-West (left bottom) corner.
se: f32
Radius of the rounding of the South-East (right bottom) corner.
Implementations§
Trait Implementations§
source§impl PartialEq for Rounding
impl PartialEq for Rounding
impl Copy for Rounding
impl StructuralPartialEq for Rounding
Auto Trait Implementations§
impl RefUnwindSafe for Rounding
impl Send for Rounding
impl Sync for Rounding
impl Unpin for Rounding
impl UnwindSafe for Rounding
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