Struct iced::widget::canvas::path::Arc[]

pub struct Arc {
    pub center: Point,
    pub radius: f32,
    pub start_angle: f32,
    pub end_angle: f32,
}
This is supported on crate features canvas or glow_canvas only.

A segment of a differentiable curve.

Fields

center: Point

The center of the arc.

radius: f32

The radius of the arc.

start_angle: f32

The start of the segment’s angle, clockwise rotation.

end_angle: f32

The end of the segment’s angle, clockwise rotation.

Trait Implementations

impl Clone for Arc

impl Copy for Arc

impl Debug for Arc

impl From<Arc> for Elliptical

Auto Trait Implementations

impl RefUnwindSafe for Arc

impl Send for Arc

impl Sync for Arc

impl Unpin for Arc

impl UnwindSafe for Arc

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Downcast<T> for T

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Upcast<T> for T

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,