pub struct RectInst {
pub rect: RectPx,
pub color: Rgba,
}Expand description
A filled rectangle.
Fields§
§rect: RectPxRectangle.
color: RgbaFill color.
Trait Implementations§
impl Copy for RectInst
impl StructuralPartialEq for RectInst
Auto Trait Implementations§
impl Forget for RectInst
impl Freeze for RectInst
impl Move for RectInst
impl RefUnwindSafe for RectInst
impl Send for RectInst
impl Sync for RectInst
impl Unpin for RectInst
impl UnsafeUnpin for RectInst
impl UnwindSafe for RectInst
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