pub struct ArcData {
pub starting_angle: f64,
pub ending_angle: f64,
pub inner_radius: f64,
}
Expand description
ArcData : Information about the arc properties of an ellipse. 0° is the x axis and increasing angles rotate clockwise.
Fields§
§starting_angle: f64
Start of the sweep in radians.
ending_angle: f64
End of the sweep in radians.
inner_radius: f64
Inner radius value between 0 and 1
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ArcData
impl<'de> Deserialize<'de> for ArcData
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for ArcData
Auto Trait Implementations§
impl Freeze for ArcData
impl RefUnwindSafe for ArcData
impl Send for ArcData
impl Sync for ArcData
impl Unpin for ArcData
impl UnwindSafe for ArcData
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