Struct solstice_2d::SimpleConvexPolygon[][src]

pub struct SimpleConvexPolygon {
    pub x: f32,
    pub y: f32,
    pub vertex_count: u32,
    pub radius_x: f32,
    pub radius_y: f32,


x: f32y: f32vertex_count: u32radius_x: f32radius_y: f32

Trait Implementations

impl Clone for SimpleConvexPolygon[src]

impl Copy for SimpleConvexPolygon[src]

impl Debug for SimpleConvexPolygon[src]

impl Default for SimpleConvexPolygon[src]

impl Into<SimpleConvexPolygon> for Ellipse[src]

impl PartialEq<SimpleConvexPolygon> for SimpleConvexPolygon[src]

impl SimpleConvexGeometry for SimpleConvexPolygon[src]

type Vertices = Map<Range<u32>, Box<dyn Fn(u32) -> Vertex2D>>

impl StructuralPartialEq for SimpleConvexPolygon[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

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

impl<'a, V, T> GeometryKind<'a, V> for T where
    T: PartialEq<T> + Into<MeshVariant<'a, V>>,
    V: Vertex

impl<T, U> Into<U> for T where
    U: From<T>, 

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<T> Scalar for T where
    T: Copy + PartialEq<T> + Debug + Any

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

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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>,