#[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: RectBounds of oval containing the arc.
start_angle: scalarAngle in degrees where the arc begins. Zero means horizontally to the right.
sweep_angle: scalarSweep angle in degrees; positive is clockwise.
ty: TypeImplementations§
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