pub struct Arc {
pub center: Point2,
pub radius: f64,
pub start: f64,
pub sweep: f64,
}Expand description
Circular arc defined by center, radius, start angle, and sweep angle (radians).
Fields§
§center: Point2§radius: f64§start: f64§sweep: f64Implementations§
Trait Implementations§
impl Copy for Arc
impl StructuralPartialEq for Arc
Auto Trait Implementations§
impl Freeze for Arc
impl RefUnwindSafe for Arc
impl Send for Arc
impl Sync for Arc
impl Unpin for Arc
impl UnsafeUnpin for Arc
impl UnwindSafe for Arc
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