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: f32
y: f32
radius_x: f32
radius_y: f32
segments: u32
Trait Implementations
impl Into<SimpleConvexPolygon> for Ellipse
[src]
impl Into<SimpleConvexPolygon> for Ellipse
[src]fn into(self) -> SimpleConvexPolygon
[src]
impl SimpleConvexGeometry for Ellipse
[src]
impl SimpleConvexGeometry for Ellipse
[src]type Vertices = <SimpleConvexPolygon as SimpleConvexGeometry>::Vertices
fn vertices(&self) -> Self::Vertices
[src]
fn vertex_count(&self) -> usize
[src]
impl StructuralPartialEq for Ellipse
[src]
impl StructuralPartialEq for Ellipse
[src]Auto Trait Implementations
impl RefUnwindSafe for Ellipse
impl RefUnwindSafe for Ellipse
impl UnwindSafe for Ellipse
impl UnwindSafe for Ellipse
Blanket Implementations
impl<'a, V, T> GeometryKind<'a, V> for T where
T: PartialEq<T> + Into<MeshVariant<'a, V>>,
V: Vertex,
[src]
impl<'a, V, T> GeometryKind<'a, V> for T where
T: PartialEq<T> + Into<MeshVariant<'a, V>>,
V: Vertex,
[src]impl<T> Same<T> for T
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<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
pub fn to_subset(&self) -> Option<SS>
pub fn is_in_subset(&self) -> bool
pub fn to_subset_unchecked(&self) -> SS
pub fn from_subset(element: &SS) -> SP
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,