#[repr(C)]pub struct RoundedRect {
pub rect: Rect<f32>,
pub radius_x: f32,
pub radius_y: f32,
}Fields§
§rect: Rect<f32>§radius_x: f32§radius_y: f32Implementations§
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 From<RoundedRect> for D2D1_ROUNDED_RECT
impl From<RoundedRect> for D2D1_ROUNDED_RECT
Source§fn from(value: RoundedRect) -> Self
fn from(value: RoundedRect) -> Self
Converts to this type from the input type.
Source§impl Stroke for RoundedRect
impl Stroke for RoundedRect
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 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