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