Struct mltg::RoundedRect
source · [−]Fields
rect: Rect
radius: Vector
Implementations
Trait Implementations
sourceimpl Clone for RoundedRect
impl Clone for RoundedRect
sourcefn clone(&self) -> RoundedRect
fn clone(&self) -> RoundedRect
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for RoundedRect
impl Debug for RoundedRect
sourceimpl Fill for RoundedRect
impl Fill for RoundedRect
fn fill(&self, dc: &ID2D1DeviceContext, brush: &ID2D1Brush)
sourceimpl From<RoundedRect> for D2D1_ROUNDED_RECT
impl From<RoundedRect> for D2D1_ROUNDED_RECT
sourcefn from(src: RoundedRect) -> D2D1_ROUNDED_RECT
fn from(src: RoundedRect) -> D2D1_ROUNDED_RECT
Converts to this type from the input type.
sourceimpl Stroke for RoundedRect
impl Stroke for RoundedRect
fn stroke(
&self,
dc: &ID2D1DeviceContext,
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more