#[repr(C)]pub struct Radius {
pub top_left: f32,
pub top_right: f32,
pub bottom_right: f32,
pub bottom_left: f32,
}
Expand description
The border radii in logical points
Fields§
§top_left: f32
§top_right: f32
§bottom_right: f32
§bottom_left: f32
Implementations§
Trait Implementations§
impl Copy for Radius
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 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