Struct parametrics::circle::Circle
source · pub struct Circle {
pub centre: Point,
pub radius: f32,
pub start_angle: T,
}Expand description
A circle of radius r, centred at a point - parameterisation starting at a given “angle”
measured in “turns” (so [0,1]) - where 0 is on the positive x-axis for the unit circle.
Fields§
§centre: Point§radius: f32§start_angle: TImplementations§
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