pub struct Circle {
pub center: Point2<i16>,
pub radius: u16,
}
Expand description
A circle that can be drawn on the display.
Circles are not antialiased.
Fields§
§center: Point2<i16>
Center point of the circle
radius: u16
Radius of the circle
Implementations§
Trait Implementations§
impl Copy for Circle
impl Eq for Circle
impl StructuralPartialEq for Circle
Auto Trait Implementations§
impl Freeze for Circle
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