pub struct Elliptical {
pub center: Point,
pub radii: Vector<f32>,
pub rotation: f32,
pub start_angle: f32,
pub end_angle: f32,
}
Available on crate feature
pure
only.Expand description
An elliptical Arc
.
Fields
center: Point
The center of the arc.
radii: Vector<f32>
The radii of the arc’s ellipse, defining its axes.
rotation: f32
The rotation of the arc’s ellipse.
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
sourceimpl Clone for Elliptical
impl Clone for Elliptical
sourcefn clone(&self) -> Elliptical
fn clone(&self) -> Elliptical
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for Elliptical
impl Debug for Elliptical
sourceimpl From<Arc> for Elliptical
impl From<Arc> for Elliptical
sourcefn from(arc: Arc) -> Elliptical
fn from(arc: Arc) -> Elliptical
Converts to this type from the input type.
impl Copy for Elliptical
Auto Trait Implementations
impl RefUnwindSafe for Elliptical
impl Send for Elliptical
impl Sync for Elliptical
impl Unpin for Elliptical
impl UnwindSafe for Elliptical
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more