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: u32Trait 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 Ellipseimpl UnwindSafe for Ellipse
impl UnwindSafe for EllipseBlanket Implementations
impl<'a, V, T> GeometryKind<'a, V> for T where
T: PartialEq<T> + Into<MeshVariant<'a, V>>,
V: Vertex + 'a, [src]
impl<'a, V, T> GeometryKind<'a, V> for T where
T: PartialEq<T> + Into<MeshVariant<'a, V>>,
V: Vertex + 'a, [src]impl<T> Same<T> for T
impl<T> Same<T> for Ttype 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>,