pub struct ArcParams {
pub center: (f64, f64),
pub radius: f64,
pub theta_start: f64,
pub theta_end: f64,
}
Expand description
Returns values used to render an ARC
input state is current position and the raw param values extracted from command.
Fields§
§center: (f64, f64)
The center of the arc
radius: f64
The radius of the arc
theta_start: f64
The start angle of the arc in radians
theta_end: f64
The end angle of the arc in radians
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ArcParams
impl RefUnwindSafe for ArcParams
impl Send for ArcParams
impl Sync for ArcParams
impl Unpin for ArcParams
impl UnwindSafe for ArcParams
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