Struct mltg::RoundedRect
source · pub struct RoundedRect {
pub rect: Rect<f32>,
pub radius: Vector<f32>,
}
Fields§
§rect: Rect<f32>
§radius: Vector<f32>
Implementations§
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 Fill for RoundedRect
impl Fill for RoundedRect
fn fill(&self, dc: &ID2D1DeviceContext5, brush: &ID2D1Brush)
source§impl From<RoundedRect> for D2D1_ROUNDED_RECT
impl From<RoundedRect> for D2D1_ROUNDED_RECT
source§fn from(src: RoundedRect) -> Self
fn from(src: RoundedRect) -> Self
Converts to this type from the input type.
source§impl Stroke for RoundedRect
impl Stroke for RoundedRect
fn stroke( &self, dc: &ID2D1DeviceContext5, brush: &ID2D1Brush, width: f32, style: Option<&ID2D1StrokeStyle> )
impl Copy for RoundedRect
Auto Trait Implementations§
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