pub struct RoundedRect {
pub point: Point,
pub size: Size,
pub corner: Size,
pub style: Style,
}
Expand description
A wrapper for draw_rounded_rect
.
Fields§
§point: Point
§size: Size
§corner: Size
§style: Style
Trait Implementations§
Source§impl Clone for RoundedRect
impl Clone for RoundedRect
Source§fn clone(&self) -> RoundedRect
fn clone(&self) -> RoundedRect
Returns a copy 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 From<Rect> for RoundedRect
impl From<Rect> for RoundedRect
Source§impl From<RoundedRect> for Rect
impl From<RoundedRect> for Rect
Source§fn from(value: RoundedRect) -> Self
fn from(value: RoundedRect) -> Self
Converts to this type from the input type.
Source§impl Hash for RoundedRect
impl Hash for RoundedRect
Source§impl PartialEq for RoundedRect
impl PartialEq for RoundedRect
impl Eq for RoundedRect
impl StructuralPartialEq 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 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