pub struct RRect;
Implementations§
Source§impl RRect
impl RRect
pub fn new_rect_radii(_rect: Rect, _radii: &[Point; 4]) -> Self
pub fn rect(&self) -> &Rect
pub fn bounds(&self) -> &Rect
pub fn width(&self) -> f32
pub fn height(&self) -> f32
pub fn radii(&self, _corner: Corner) -> Point
pub fn with_outset(&self, _delta: impl Into<Point>) -> Self
pub fn contains(&self, other: Rect) -> bool
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RRect
impl RefUnwindSafe for RRect
impl Send for RRect
impl Sync for RRect
impl Unpin for RRect
impl UnwindSafe for RRect
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