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 AddAssign<f32> for Rounding
impl AddAssign<f32> for Rounding
source§fn add_assign(&mut self, rhs: f32)
fn add_assign(&mut self, rhs: f32)
Performs the
+=
operation. Read moresource§impl AddAssign for Rounding
impl AddAssign for Rounding
source§fn add_assign(&mut self, rhs: Rounding)
fn add_assign(&mut self, rhs: Rounding)
Performs the
+=
operation. Read moresource§impl DivAssign<f32> for Rounding
impl DivAssign<f32> for Rounding
source§fn div_assign(&mut self, rhs: f32)
fn div_assign(&mut self, rhs: f32)
Performs the
/=
operation. Read moresource§impl MulAssign<f32> for Rounding
impl MulAssign<f32> for Rounding
source§fn mul_assign(&mut self, rhs: f32)
fn mul_assign(&mut self, rhs: f32)
Performs the
*=
operation. Read moresource§impl PartialEq for Rounding
impl PartialEq for Rounding
source§impl SubAssign<f32> for Rounding
impl SubAssign<f32> for Rounding
source§fn sub_assign(&mut self, rhs: f32)
fn sub_assign(&mut self, rhs: f32)
Performs the
-=
operation. Read moresource§impl SubAssign for Rounding
impl SubAssign for Rounding
source§fn sub_assign(&mut self, rhs: Rounding)
fn sub_assign(&mut self, rhs: Rounding)
Performs the
-=
operation. Read moreimpl Copy for Rounding
impl StructuralPartialEq for Rounding
Auto Trait Implementations§
impl Freeze for Rounding
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