#[repr(C)]pub struct RoundedRect {
pub rect: Rect,
pub corner_radius: CornerRadius,
}Expand description
A rounded rectangle (convenience type combining Rect + CornerRadius)
Fields§
§rect: Rect§corner_radius: CornerRadiusImplementations§
Trait Implementations§
Source§impl Clone for RoundedRect
impl Clone for RoundedRect
Source§fn clone(&self) -> RoundedRect
fn clone(&self) -> RoundedRect
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RoundedRect
impl Debug for RoundedRect
Source§impl Default for RoundedRect
impl Default for RoundedRect
Source§fn default() -> RoundedRect
fn default() -> RoundedRect
Returns the “default value” for a type. Read more
impl Copy for RoundedRect
Auto Trait Implementations§
impl Freeze for RoundedRect
impl RefUnwindSafe for RoundedRect
impl Send for RoundedRect
impl Sync for RoundedRect
impl Unpin for RoundedRect
impl UnsafeUnpin for RoundedRect
impl UnwindSafe for RoundedRect
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