pub struct Circle {
pub x: f64,
pub y: f64,
pub radius: f64,
pub color: Color,
}
Expand description
Shape to draw a circle with a given center and radius and with the given color
Fields§
§x: f64
§y: f64
§radius: f64
§color: Color
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Circle
impl Send for Circle
impl Sync for Circle
impl Unpin for Circle
impl UnwindSafe for Circle
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