Struct solstice_2d::Ellipse[][src]

pub struct Ellipse {
    pub x: f32,
    pub y: f32,
    pub radius_x: f32,
    pub radius_y: f32,
    pub segments: u32,
}

Fields

x: f32y: f32radius_x: f32radius_y: f32segments: u32

Trait Implementations

impl Clone for Ellipse[src]

impl Copy for Ellipse[src]

impl Debug for Ellipse[src]

impl Default for Ellipse[src]

impl Into<Ellipse> for Circle[src]

impl Into<SimpleConvexPolygon> for Ellipse[src]

impl SimpleConvexGeometry for Ellipse[src]

Auto Trait Implementations

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<'a, V, I, G> BoxedGeometry<'a, Vertex2D, u32> for G where
    V: 'a + Iterator<Item = Vertex2D>,
    I: Iterator<Item = u32> + 'a,
    G: Geometry<Vertex2D, Vertices = V, Indices = I> + DynClone + Debug
[src]

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

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

impl<T> Geometry<Vertex2D> for T where
    T: SimpleConvexGeometry
[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> Same<T> for T

type Output = T

Should always be Self

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 

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<V, T> VZip<V> for T where
    V: MultiLane<T>,