#[repr(C)]pub struct Arc {
pub oval: Rect,
pub start_angle: scalar,
pub sweep_angle: scalar,
pub ty: Type,
}
Expand description
Represents an arc along an oval boundary, or a closed wedge of the oval.
Fields§
§oval: Rect
Bounds of oval containing the arc.
start_angle: scalar
Angle in degrees where the arc begins. Zero means horizontally to the right.
sweep_angle: scalar
Sweep angle in degrees; positive is clockwise.
ty: Type
Implementations§
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 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