Trait SimpleConvexGeometry

Source
pub trait SimpleConvexGeometry: Debug {
    type Vertices: Iterator<Item = Vertex2D>;

    // Required methods
    fn vertices(&self) -> Self::Vertices;
    fn vertex_count(&self) -> usize;
}

Required Associated Types§

Required Methods§

Source

fn vertices(&self) -> Self::Vertices

Source

fn vertex_count(&self) -> usize

Implementations on Foreign Types§

Source§

impl SimpleConvexGeometry for &[(f32, f32); 1]

Source§

impl SimpleConvexGeometry for &[(f32, f32); 2]

Source§

impl SimpleConvexGeometry for &[(f32, f32); 3]

Source§

impl SimpleConvexGeometry for &[(f32, f32); 4]

Source§

impl SimpleConvexGeometry for &[(f32, f32); 5]

Source§

impl SimpleConvexGeometry for &[(f32, f32); 6]

Source§

impl SimpleConvexGeometry for &[(f32, f32); 7]

Source§

impl SimpleConvexGeometry for &[(f32, f32); 8]

Source§

impl SimpleConvexGeometry for &[(f32, f32); 9]

Source§

impl SimpleConvexGeometry for &[(f32, f32); 10]

Source§

type Vertices = Map<IntoIter<(f32, f32), 10>, fn((f32, f32)) -> Vertex2D>

Source§

fn vertices(&self) -> Self::Vertices

Source§

fn vertex_count(&self) -> usize

Source§

impl SimpleConvexGeometry for &[(f32, f32); 11]

Source§

type Vertices = Map<IntoIter<(f32, f32), 11>, fn((f32, f32)) -> Vertex2D>

Source§

fn vertices(&self) -> Self::Vertices

Source§

fn vertex_count(&self) -> usize

Source§

impl SimpleConvexGeometry for &[(f32, f32); 12]

Source§

type Vertices = Map<IntoIter<(f32, f32), 12>, fn((f32, f32)) -> Vertex2D>

Source§

fn vertices(&self) -> Self::Vertices

Source§

fn vertex_count(&self) -> usize

Source§

impl SimpleConvexGeometry for &[(f32, f32); 13]

Source§

type Vertices = Map<IntoIter<(f32, f32), 13>, fn((f32, f32)) -> Vertex2D>

Source§

fn vertices(&self) -> Self::Vertices

Source§

fn vertex_count(&self) -> usize

Source§

impl SimpleConvexGeometry for &[(f32, f32); 14]

Source§

type Vertices = Map<IntoIter<(f32, f32), 14>, fn((f32, f32)) -> Vertex2D>

Source§

fn vertices(&self) -> Self::Vertices

Source§

fn vertex_count(&self) -> usize

Source§

impl SimpleConvexGeometry for &[(f32, f32); 15]

Source§

type Vertices = Map<IntoIter<(f32, f32), 15>, fn((f32, f32)) -> Vertex2D>

Source§

fn vertices(&self) -> Self::Vertices

Source§

fn vertex_count(&self) -> usize

Source§

impl SimpleConvexGeometry for &[(f32, f32); 16]

Source§

type Vertices = Map<IntoIter<(f32, f32), 16>, fn((f32, f32)) -> Vertex2D>

Source§

fn vertices(&self) -> Self::Vertices

Source§

fn vertex_count(&self) -> usize

Source§

impl SimpleConvexGeometry for &[(f32, f32); 17]

Source§

type Vertices = Map<IntoIter<(f32, f32), 17>, fn((f32, f32)) -> Vertex2D>

Source§

fn vertices(&self) -> Self::Vertices

Source§

fn vertex_count(&self) -> usize

Source§

impl SimpleConvexGeometry for &[(f32, f32); 18]

Source§

type Vertices = Map<IntoIter<(f32, f32), 18>, fn((f32, f32)) -> Vertex2D>

Source§

fn vertices(&self) -> Self::Vertices

Source§

fn vertex_count(&self) -> usize

Source§

impl SimpleConvexGeometry for &[(f32, f32); 19]

Source§

type Vertices = Map<IntoIter<(f32, f32), 19>, fn((f32, f32)) -> Vertex2D>

Source§

fn vertices(&self) -> Self::Vertices

Source§

fn vertex_count(&self) -> usize

Source§

impl SimpleConvexGeometry for &[(f32, f32); 20]

Source§

type Vertices = Map<IntoIter<(f32, f32), 20>, fn((f32, f32)) -> Vertex2D>

Source§

fn vertices(&self) -> Self::Vertices

Source§

fn vertex_count(&self) -> usize

Source§

impl SimpleConvexGeometry for &[(f32, f32); 21]

Source§

type Vertices = Map<IntoIter<(f32, f32), 21>, fn((f32, f32)) -> Vertex2D>

Source§

fn vertices(&self) -> Self::Vertices

Source§

fn vertex_count(&self) -> usize

Source§

impl SimpleConvexGeometry for &[(f32, f32); 22]

Source§

type Vertices = Map<IntoIter<(f32, f32), 22>, fn((f32, f32)) -> Vertex2D>

Source§

fn vertices(&self) -> Self::Vertices

Source§

fn vertex_count(&self) -> usize

Source§

impl SimpleConvexGeometry for &[(f32, f32); 23]

Source§

type Vertices = Map<IntoIter<(f32, f32), 23>, fn((f32, f32)) -> Vertex2D>

Source§

fn vertices(&self) -> Self::Vertices

Source§

fn vertex_count(&self) -> usize

Source§

impl SimpleConvexGeometry for &[(f32, f32); 24]

Source§

type Vertices = Map<IntoIter<(f32, f32), 24>, fn((f32, f32)) -> Vertex2D>

Source§

fn vertices(&self) -> Self::Vertices

Source§

fn vertex_count(&self) -> usize

Source§

impl SimpleConvexGeometry for &[(f32, f32); 25]

Source§

type Vertices = Map<IntoIter<(f32, f32), 25>, fn((f32, f32)) -> Vertex2D>

Source§

fn vertices(&self) -> Self::Vertices

Source§

fn vertex_count(&self) -> usize

Source§

impl SimpleConvexGeometry for &[(f32, f32); 26]

Source§

type Vertices = Map<IntoIter<(f32, f32), 26>, fn((f32, f32)) -> Vertex2D>

Source§

fn vertices(&self) -> Self::Vertices

Source§

fn vertex_count(&self) -> usize

Source§

impl SimpleConvexGeometry for &[(f32, f32); 27]

Source§

type Vertices = Map<IntoIter<(f32, f32), 27>, fn((f32, f32)) -> Vertex2D>

Source§

fn vertices(&self) -> Self::Vertices

Source§

fn vertex_count(&self) -> usize

Source§

impl SimpleConvexGeometry for &[(f32, f32); 28]

Source§

type Vertices = Map<IntoIter<(f32, f32), 28>, fn((f32, f32)) -> Vertex2D>

Source§

fn vertices(&self) -> Self::Vertices

Source§

fn vertex_count(&self) -> usize

Source§

impl SimpleConvexGeometry for &[(f32, f32); 29]

Source§

type Vertices = Map<IntoIter<(f32, f32), 29>, fn((f32, f32)) -> Vertex2D>

Source§

fn vertices(&self) -> Self::Vertices

Source§

fn vertex_count(&self) -> usize

Source§

impl SimpleConvexGeometry for &[(f32, f32); 30]

Source§

type Vertices = Map<IntoIter<(f32, f32), 30>, fn((f32, f32)) -> Vertex2D>

Source§

fn vertices(&self) -> Self::Vertices

Source§

fn vertex_count(&self) -> usize

Source§

impl SimpleConvexGeometry for &[(f32, f32); 31]

Source§

type Vertices = Map<IntoIter<(f32, f32), 31>, fn((f32, f32)) -> Vertex2D>

Source§

fn vertices(&self) -> Self::Vertices

Source§

fn vertex_count(&self) -> usize

Source§

impl SimpleConvexGeometry for &[(f32, f32); 32]

Source§

type Vertices = Map<IntoIter<(f32, f32), 32>, fn((f32, f32)) -> Vertex2D>

Source§

fn vertices(&self) -> Self::Vertices

Source§

fn vertex_count(&self) -> usize

Source§

impl SimpleConvexGeometry for &[(f64, f64); 1]

Source§

impl SimpleConvexGeometry for &[(f64, f64); 2]

Source§

impl SimpleConvexGeometry for &[(f64, f64); 3]

Source§

impl SimpleConvexGeometry for &[(f64, f64); 4]

Source§

impl SimpleConvexGeometry for &[(f64, f64); 5]

Source§

impl SimpleConvexGeometry for &[(f64, f64); 6]

Source§

impl SimpleConvexGeometry for &[(f64, f64); 7]

Source§

impl SimpleConvexGeometry for &[(f64, f64); 8]

Source§

impl SimpleConvexGeometry for &[(f64, f64); 9]

Source§

impl SimpleConvexGeometry for &[(f64, f64); 10]

Source§

type Vertices = Map<IntoIter<(f64, f64), 10>, fn((f64, f64)) -> Vertex2D>

Source§

fn vertices(&self) -> Self::Vertices

Source§

fn vertex_count(&self) -> usize

Source§

impl SimpleConvexGeometry for &[(f64, f64); 11]

Source§

type Vertices = Map<IntoIter<(f64, f64), 11>, fn((f64, f64)) -> Vertex2D>

Source§

fn vertices(&self) -> Self::Vertices

Source§

fn vertex_count(&self) -> usize

Source§

impl SimpleConvexGeometry for &[(f64, f64); 12]

Source§

type Vertices = Map<IntoIter<(f64, f64), 12>, fn((f64, f64)) -> Vertex2D>

Source§

fn vertices(&self) -> Self::Vertices

Source§

fn vertex_count(&self) -> usize

Source§

impl SimpleConvexGeometry for &[(f64, f64); 13]

Source§

type Vertices = Map<IntoIter<(f64, f64), 13>, fn((f64, f64)) -> Vertex2D>

Source§

fn vertices(&self) -> Self::Vertices

Source§

fn vertex_count(&self) -> usize

Source§

impl SimpleConvexGeometry for &[(f64, f64); 14]

Source§

type Vertices = Map<IntoIter<(f64, f64), 14>, fn((f64, f64)) -> Vertex2D>

Source§

fn vertices(&self) -> Self::Vertices

Source§

fn vertex_count(&self) -> usize

Source§

impl SimpleConvexGeometry for &[(f64, f64); 15]

Source§

type Vertices = Map<IntoIter<(f64, f64), 15>, fn((f64, f64)) -> Vertex2D>

Source§

fn vertices(&self) -> Self::Vertices

Source§

fn vertex_count(&self) -> usize

Source§

impl SimpleConvexGeometry for &[(f64, f64); 16]

Source§

type Vertices = Map<IntoIter<(f64, f64), 16>, fn((f64, f64)) -> Vertex2D>

Source§

fn vertices(&self) -> Self::Vertices

Source§

fn vertex_count(&self) -> usize

Source§

impl SimpleConvexGeometry for &[(f64, f64); 17]

Source§

type Vertices = Map<IntoIter<(f64, f64), 17>, fn((f64, f64)) -> Vertex2D>

Source§

fn vertices(&self) -> Self::Vertices

Source§

fn vertex_count(&self) -> usize

Source§

impl SimpleConvexGeometry for &[(f64, f64); 18]

Source§

type Vertices = Map<IntoIter<(f64, f64), 18>, fn((f64, f64)) -> Vertex2D>

Source§

fn vertices(&self) -> Self::Vertices

Source§

fn vertex_count(&self) -> usize

Source§

impl SimpleConvexGeometry for &[(f64, f64); 19]

Source§

type Vertices = Map<IntoIter<(f64, f64), 19>, fn((f64, f64)) -> Vertex2D>

Source§

fn vertices(&self) -> Self::Vertices

Source§

fn vertex_count(&self) -> usize

Source§

impl SimpleConvexGeometry for &[(f64, f64); 20]

Source§

type Vertices = Map<IntoIter<(f64, f64), 20>, fn((f64, f64)) -> Vertex2D>

Source§

fn vertices(&self) -> Self::Vertices

Source§

fn vertex_count(&self) -> usize

Source§

impl SimpleConvexGeometry for &[(f64, f64); 21]

Source§

type Vertices = Map<IntoIter<(f64, f64), 21>, fn((f64, f64)) -> Vertex2D>

Source§

fn vertices(&self) -> Self::Vertices

Source§

fn vertex_count(&self) -> usize

Source§

impl SimpleConvexGeometry for &[(f64, f64); 22]

Source§

type Vertices = Map<IntoIter<(f64, f64), 22>, fn((f64, f64)) -> Vertex2D>

Source§

fn vertices(&self) -> Self::Vertices

Source§

fn vertex_count(&self) -> usize

Source§

impl SimpleConvexGeometry for &[(f64, f64); 23]

Source§

type Vertices = Map<IntoIter<(f64, f64), 23>, fn((f64, f64)) -> Vertex2D>

Source§

fn vertices(&self) -> Self::Vertices

Source§

fn vertex_count(&self) -> usize

Source§

impl SimpleConvexGeometry for &[(f64, f64); 24]

Source§

type Vertices = Map<IntoIter<(f64, f64), 24>, fn((f64, f64)) -> Vertex2D>

Source§

fn vertices(&self) -> Self::Vertices

Source§

fn vertex_count(&self) -> usize

Source§

impl SimpleConvexGeometry for &[(f64, f64); 25]

Source§

type Vertices = Map<IntoIter<(f64, f64), 25>, fn((f64, f64)) -> Vertex2D>

Source§

fn vertices(&self) -> Self::Vertices

Source§

fn vertex_count(&self) -> usize

Source§

impl SimpleConvexGeometry for &[(f64, f64); 26]

Source§

type Vertices = Map<IntoIter<(f64, f64), 26>, fn((f64, f64)) -> Vertex2D>

Source§

fn vertices(&self) -> Self::Vertices

Source§

fn vertex_count(&self) -> usize

Source§

impl SimpleConvexGeometry for &[(f64, f64); 27]

Source§

type Vertices = Map<IntoIter<(f64, f64), 27>, fn((f64, f64)) -> Vertex2D>

Source§

fn vertices(&self) -> Self::Vertices

Source§

fn vertex_count(&self) -> usize

Source§

impl SimpleConvexGeometry for &[(f64, f64); 28]

Source§

type Vertices = Map<IntoIter<(f64, f64), 28>, fn((f64, f64)) -> Vertex2D>

Source§

fn vertices(&self) -> Self::Vertices

Source§

fn vertex_count(&self) -> usize

Source§

impl SimpleConvexGeometry for &[(f64, f64); 29]

Source§

type Vertices = Map<IntoIter<(f64, f64), 29>, fn((f64, f64)) -> Vertex2D>

Source§

fn vertices(&self) -> Self::Vertices

Source§

fn vertex_count(&self) -> usize

Source§

impl SimpleConvexGeometry for &[(f64, f64); 30]

Source§

type Vertices = Map<IntoIter<(f64, f64), 30>, fn((f64, f64)) -> Vertex2D>

Source§

fn vertices(&self) -> Self::Vertices

Source§

fn vertex_count(&self) -> usize

Source§

impl SimpleConvexGeometry for &[(f64, f64); 31]

Source§

type Vertices = Map<IntoIter<(f64, f64), 31>, fn((f64, f64)) -> Vertex2D>

Source§

fn vertices(&self) -> Self::Vertices

Source§

fn vertex_count(&self) -> usize

Source§

impl SimpleConvexGeometry for &[(f64, f64); 32]

Source§

type Vertices = Map<IntoIter<(f64, f64), 32>, fn((f64, f64)) -> Vertex2D>

Source§

fn vertices(&self) -> Self::Vertices

Source§

fn vertex_count(&self) -> usize

Source§

impl SimpleConvexGeometry for &[Point; 1]

Source§

impl SimpleConvexGeometry for &[Point; 2]

Source§

impl SimpleConvexGeometry for &[Point; 3]

Source§

impl SimpleConvexGeometry for &[Point; 4]

Source§

impl SimpleConvexGeometry for &[Point; 5]

Source§

impl SimpleConvexGeometry for &[Point; 6]

Source§

impl SimpleConvexGeometry for &[Point; 7]

Source§

impl SimpleConvexGeometry for &[Point; 8]

Source§

impl SimpleConvexGeometry for &[Point; 9]

Source§

impl SimpleConvexGeometry for &[Point; 10]

Source§

impl SimpleConvexGeometry for &[Point; 11]

Source§

impl SimpleConvexGeometry for &[Point; 12]

Source§

impl SimpleConvexGeometry for &[Point; 13]

Source§

impl SimpleConvexGeometry for &[Point; 14]

Source§

impl SimpleConvexGeometry for &[Point; 15]

Source§

impl SimpleConvexGeometry for &[Point; 16]

Source§

impl SimpleConvexGeometry for &[Point; 17]

Source§

impl SimpleConvexGeometry for &[Point; 18]

Source§

impl SimpleConvexGeometry for &[Point; 19]

Source§

impl SimpleConvexGeometry for &[Point; 20]

Source§

impl SimpleConvexGeometry for &[Point; 21]

Source§

impl SimpleConvexGeometry for &[Point; 22]

Source§

impl SimpleConvexGeometry for &[Point; 23]

Source§

impl SimpleConvexGeometry for &[Point; 24]

Source§

impl SimpleConvexGeometry for &[Point; 25]

Source§

impl SimpleConvexGeometry for &[Point; 26]

Source§

impl SimpleConvexGeometry for &[Point; 27]

Source§

impl SimpleConvexGeometry for &[Point; 28]

Source§

impl SimpleConvexGeometry for &[Point; 29]

Source§

impl SimpleConvexGeometry for &[Point; 30]

Source§

impl SimpleConvexGeometry for &[Point; 31]

Source§

impl SimpleConvexGeometry for &[Point; 32]

Source§

impl SimpleConvexGeometry for [(f32, f32); 1]

Source§

impl SimpleConvexGeometry for [(f32, f32); 2]

Source§

impl SimpleConvexGeometry for [(f32, f32); 3]

Source§

impl SimpleConvexGeometry for [(f32, f32); 4]

Source§

impl SimpleConvexGeometry for [(f32, f32); 5]

Source§

impl SimpleConvexGeometry for [(f32, f32); 6]

Source§

impl SimpleConvexGeometry for [(f32, f32); 7]

Source§

impl SimpleConvexGeometry for [(f32, f32); 8]

Source§

impl SimpleConvexGeometry for [(f32, f32); 9]

Source§

impl SimpleConvexGeometry for [(f32, f32); 10]

Source§

type Vertices = Map<IntoIter<(f32, f32), 10>, fn((f32, f32)) -> Vertex2D>

Source§

fn vertices(&self) -> Self::Vertices

Source§

fn vertex_count(&self) -> usize

Source§

impl SimpleConvexGeometry for [(f32, f32); 11]

Source§

type Vertices = Map<IntoIter<(f32, f32), 11>, fn((f32, f32)) -> Vertex2D>

Source§

fn vertices(&self) -> Self::Vertices

Source§

fn vertex_count(&self) -> usize

Source§

impl SimpleConvexGeometry for [(f32, f32); 12]

Source§

type Vertices = Map<IntoIter<(f32, f32), 12>, fn((f32, f32)) -> Vertex2D>

Source§

fn vertices(&self) -> Self::Vertices

Source§

fn vertex_count(&self) -> usize

Source§

impl SimpleConvexGeometry for [(f32, f32); 13]

Source§

type Vertices = Map<IntoIter<(f32, f32), 13>, fn((f32, f32)) -> Vertex2D>

Source§

fn vertices(&self) -> Self::Vertices

Source§

fn vertex_count(&self) -> usize

Source§

impl SimpleConvexGeometry for [(f32, f32); 14]

Source§

type Vertices = Map<IntoIter<(f32, f32), 14>, fn((f32, f32)) -> Vertex2D>

Source§

fn vertices(&self) -> Self::Vertices

Source§

fn vertex_count(&self) -> usize

Source§

impl SimpleConvexGeometry for [(f32, f32); 15]

Source§

type Vertices = Map<IntoIter<(f32, f32), 15>, fn((f32, f32)) -> Vertex2D>

Source§

fn vertices(&self) -> Self::Vertices

Source§

fn vertex_count(&self) -> usize

Source§

impl SimpleConvexGeometry for [(f32, f32); 16]

Source§

type Vertices = Map<IntoIter<(f32, f32), 16>, fn((f32, f32)) -> Vertex2D>

Source§

fn vertices(&self) -> Self::Vertices

Source§

fn vertex_count(&self) -> usize

Source§

impl SimpleConvexGeometry for [(f32, f32); 17]

Source§

type Vertices = Map<IntoIter<(f32, f32), 17>, fn((f32, f32)) -> Vertex2D>

Source§

fn vertices(&self) -> Self::Vertices

Source§

fn vertex_count(&self) -> usize

Source§

impl SimpleConvexGeometry for [(f32, f32); 18]

Source§

type Vertices = Map<IntoIter<(f32, f32), 18>, fn((f32, f32)) -> Vertex2D>

Source§

fn vertices(&self) -> Self::Vertices

Source§

fn vertex_count(&self) -> usize

Source§

impl SimpleConvexGeometry for [(f32, f32); 19]

Source§

type Vertices = Map<IntoIter<(f32, f32), 19>, fn((f32, f32)) -> Vertex2D>

Source§

fn vertices(&self) -> Self::Vertices

Source§

fn vertex_count(&self) -> usize

Source§

impl SimpleConvexGeometry for [(f32, f32); 20]

Source§

type Vertices = Map<IntoIter<(f32, f32), 20>, fn((f32, f32)) -> Vertex2D>

Source§

fn vertices(&self) -> Self::Vertices

Source§

fn vertex_count(&self) -> usize

Source§

impl SimpleConvexGeometry for [(f32, f32); 21]

Source§

type Vertices = Map<IntoIter<(f32, f32), 21>, fn((f32, f32)) -> Vertex2D>

Source§

fn vertices(&self) -> Self::Vertices

Source§

fn vertex_count(&self) -> usize

Source§

impl SimpleConvexGeometry for [(f32, f32); 22]

Source§

type Vertices = Map<IntoIter<(f32, f32), 22>, fn((f32, f32)) -> Vertex2D>

Source§

fn vertices(&self) -> Self::Vertices

Source§

fn vertex_count(&self) -> usize

Source§

impl SimpleConvexGeometry for [(f32, f32); 23]

Source§

type Vertices = Map<IntoIter<(f32, f32), 23>, fn((f32, f32)) -> Vertex2D>

Source§

fn vertices(&self) -> Self::Vertices

Source§

fn vertex_count(&self) -> usize

Source§

impl SimpleConvexGeometry for [(f32, f32); 24]

Source§

type Vertices = Map<IntoIter<(f32, f32), 24>, fn((f32, f32)) -> Vertex2D>

Source§

fn vertices(&self) -> Self::Vertices

Source§

fn vertex_count(&self) -> usize

Source§

impl SimpleConvexGeometry for [(f32, f32); 25]

Source§

type Vertices = Map<IntoIter<(f32, f32), 25>, fn((f32, f32)) -> Vertex2D>

Source§

fn vertices(&self) -> Self::Vertices

Source§

fn vertex_count(&self) -> usize

Source§

impl SimpleConvexGeometry for [(f32, f32); 26]

Source§

type Vertices = Map<IntoIter<(f32, f32), 26>, fn((f32, f32)) -> Vertex2D>

Source§

fn vertices(&self) -> Self::Vertices

Source§

fn vertex_count(&self) -> usize

Source§

impl SimpleConvexGeometry for [(f32, f32); 27]

Source§

type Vertices = Map<IntoIter<(f32, f32), 27>, fn((f32, f32)) -> Vertex2D>

Source§

fn vertices(&self) -> Self::Vertices

Source§

fn vertex_count(&self) -> usize

Source§

impl SimpleConvexGeometry for [(f32, f32); 28]

Source§

type Vertices = Map<IntoIter<(f32, f32), 28>, fn((f32, f32)) -> Vertex2D>

Source§

fn vertices(&self) -> Self::Vertices

Source§

fn vertex_count(&self) -> usize

Source§

impl SimpleConvexGeometry for [(f32, f32); 29]

Source§

type Vertices = Map<IntoIter<(f32, f32), 29>, fn((f32, f32)) -> Vertex2D>

Source§

fn vertices(&self) -> Self::Vertices

Source§

fn vertex_count(&self) -> usize

Source§

impl SimpleConvexGeometry for [(f32, f32); 30]

Source§

type Vertices = Map<IntoIter<(f32, f32), 30>, fn((f32, f32)) -> Vertex2D>

Source§

fn vertices(&self) -> Self::Vertices

Source§

fn vertex_count(&self) -> usize

Source§

impl SimpleConvexGeometry for [(f32, f32); 31]

Source§

type Vertices = Map<IntoIter<(f32, f32), 31>, fn((f32, f32)) -> Vertex2D>

Source§

fn vertices(&self) -> Self::Vertices

Source§

fn vertex_count(&self) -> usize

Source§

impl SimpleConvexGeometry for [(f32, f32); 32]

Source§

type Vertices = Map<IntoIter<(f32, f32), 32>, fn((f32, f32)) -> Vertex2D>

Source§

fn vertices(&self) -> Self::Vertices

Source§

fn vertex_count(&self) -> usize

Source§

impl SimpleConvexGeometry for [(f64, f64); 1]

Source§

impl SimpleConvexGeometry for [(f64, f64); 2]

Source§

impl SimpleConvexGeometry for [(f64, f64); 3]

Source§

impl SimpleConvexGeometry for [(f64, f64); 4]

Source§

impl SimpleConvexGeometry for [(f64, f64); 5]

Source§

impl SimpleConvexGeometry for [(f64, f64); 6]

Source§

impl SimpleConvexGeometry for [(f64, f64); 7]

Source§

impl SimpleConvexGeometry for [(f64, f64); 8]

Source§

impl SimpleConvexGeometry for [(f64, f64); 9]

Source§

impl SimpleConvexGeometry for [(f64, f64); 10]

Source§

type Vertices = Map<IntoIter<(f64, f64), 10>, fn((f64, f64)) -> Vertex2D>

Source§

fn vertices(&self) -> Self::Vertices

Source§

fn vertex_count(&self) -> usize

Source§

impl SimpleConvexGeometry for [(f64, f64); 11]

Source§

type Vertices = Map<IntoIter<(f64, f64), 11>, fn((f64, f64)) -> Vertex2D>

Source§

fn vertices(&self) -> Self::Vertices

Source§

fn vertex_count(&self) -> usize

Source§

impl SimpleConvexGeometry for [(f64, f64); 12]

Source§

type Vertices = Map<IntoIter<(f64, f64), 12>, fn((f64, f64)) -> Vertex2D>

Source§

fn vertices(&self) -> Self::Vertices

Source§

fn vertex_count(&self) -> usize

Source§

impl SimpleConvexGeometry for [(f64, f64); 13]

Source§

type Vertices = Map<IntoIter<(f64, f64), 13>, fn((f64, f64)) -> Vertex2D>

Source§

fn vertices(&self) -> Self::Vertices

Source§

fn vertex_count(&self) -> usize

Source§

impl SimpleConvexGeometry for [(f64, f64); 14]

Source§

type Vertices = Map<IntoIter<(f64, f64), 14>, fn((f64, f64)) -> Vertex2D>

Source§

fn vertices(&self) -> Self::Vertices

Source§

fn vertex_count(&self) -> usize

Source§

impl SimpleConvexGeometry for [(f64, f64); 15]

Source§

type Vertices = Map<IntoIter<(f64, f64), 15>, fn((f64, f64)) -> Vertex2D>

Source§

fn vertices(&self) -> Self::Vertices

Source§

fn vertex_count(&self) -> usize

Source§

impl SimpleConvexGeometry for [(f64, f64); 16]

Source§

type Vertices = Map<IntoIter<(f64, f64), 16>, fn((f64, f64)) -> Vertex2D>

Source§

fn vertices(&self) -> Self::Vertices

Source§

fn vertex_count(&self) -> usize

Source§

impl SimpleConvexGeometry for [(f64, f64); 17]

Source§

type Vertices = Map<IntoIter<(f64, f64), 17>, fn((f64, f64)) -> Vertex2D>

Source§

fn vertices(&self) -> Self::Vertices

Source§

fn vertex_count(&self) -> usize

Source§

impl SimpleConvexGeometry for [(f64, f64); 18]

Source§

type Vertices = Map<IntoIter<(f64, f64), 18>, fn((f64, f64)) -> Vertex2D>

Source§

fn vertices(&self) -> Self::Vertices

Source§

fn vertex_count(&self) -> usize

Source§

impl SimpleConvexGeometry for [(f64, f64); 19]

Source§

type Vertices = Map<IntoIter<(f64, f64), 19>, fn((f64, f64)) -> Vertex2D>

Source§

fn vertices(&self) -> Self::Vertices

Source§

fn vertex_count(&self) -> usize

Source§

impl SimpleConvexGeometry for [(f64, f64); 20]

Source§

type Vertices = Map<IntoIter<(f64, f64), 20>, fn((f64, f64)) -> Vertex2D>

Source§

fn vertices(&self) -> Self::Vertices

Source§

fn vertex_count(&self) -> usize

Source§

impl SimpleConvexGeometry for [(f64, f64); 21]

Source§

type Vertices = Map<IntoIter<(f64, f64), 21>, fn((f64, f64)) -> Vertex2D>

Source§

fn vertices(&self) -> Self::Vertices

Source§

fn vertex_count(&self) -> usize

Source§

impl SimpleConvexGeometry for [(f64, f64); 22]

Source§

type Vertices = Map<IntoIter<(f64, f64), 22>, fn((f64, f64)) -> Vertex2D>

Source§

fn vertices(&self) -> Self::Vertices

Source§

fn vertex_count(&self) -> usize

Source§

impl SimpleConvexGeometry for [(f64, f64); 23]

Source§

type Vertices = Map<IntoIter<(f64, f64), 23>, fn((f64, f64)) -> Vertex2D>

Source§

fn vertices(&self) -> Self::Vertices

Source§

fn vertex_count(&self) -> usize

Source§

impl SimpleConvexGeometry for [(f64, f64); 24]

Source§

type Vertices = Map<IntoIter<(f64, f64), 24>, fn((f64, f64)) -> Vertex2D>

Source§

fn vertices(&self) -> Self::Vertices

Source§

fn vertex_count(&self) -> usize

Source§

impl SimpleConvexGeometry for [(f64, f64); 25]

Source§

type Vertices = Map<IntoIter<(f64, f64), 25>, fn((f64, f64)) -> Vertex2D>

Source§

fn vertices(&self) -> Self::Vertices

Source§

fn vertex_count(&self) -> usize

Source§

impl SimpleConvexGeometry for [(f64, f64); 26]

Source§

type Vertices = Map<IntoIter<(f64, f64), 26>, fn((f64, f64)) -> Vertex2D>

Source§

fn vertices(&self) -> Self::Vertices

Source§

fn vertex_count(&self) -> usize

Source§

impl SimpleConvexGeometry for [(f64, f64); 27]

Source§

type Vertices = Map<IntoIter<(f64, f64), 27>, fn((f64, f64)) -> Vertex2D>

Source§

fn vertices(&self) -> Self::Vertices

Source§

fn vertex_count(&self) -> usize

Source§

impl SimpleConvexGeometry for [(f64, f64); 28]

Source§

type Vertices = Map<IntoIter<(f64, f64), 28>, fn((f64, f64)) -> Vertex2D>

Source§

fn vertices(&self) -> Self::Vertices

Source§

fn vertex_count(&self) -> usize

Source§

impl SimpleConvexGeometry for [(f64, f64); 29]

Source§

type Vertices = Map<IntoIter<(f64, f64), 29>, fn((f64, f64)) -> Vertex2D>

Source§

fn vertices(&self) -> Self::Vertices

Source§

fn vertex_count(&self) -> usize

Source§

impl SimpleConvexGeometry for [(f64, f64); 30]

Source§

type Vertices = Map<IntoIter<(f64, f64), 30>, fn((f64, f64)) -> Vertex2D>

Source§

fn vertices(&self) -> Self::Vertices

Source§

fn vertex_count(&self) -> usize

Source§

impl SimpleConvexGeometry for [(f64, f64); 31]

Source§

type Vertices = Map<IntoIter<(f64, f64), 31>, fn((f64, f64)) -> Vertex2D>

Source§

fn vertices(&self) -> Self::Vertices

Source§

fn vertex_count(&self) -> usize

Source§

impl SimpleConvexGeometry for [(f64, f64); 32]

Source§

type Vertices = Map<IntoIter<(f64, f64), 32>, fn((f64, f64)) -> Vertex2D>

Source§

fn vertices(&self) -> Self::Vertices

Source§

fn vertex_count(&self) -> usize

Source§

impl SimpleConvexGeometry for [Point; 1]

Source§

impl SimpleConvexGeometry for [Point; 2]

Source§

impl SimpleConvexGeometry for [Point; 3]

Source§

impl SimpleConvexGeometry for [Point; 4]

Source§

impl SimpleConvexGeometry for [Point; 5]

Source§

impl SimpleConvexGeometry for [Point; 6]

Source§

impl SimpleConvexGeometry for [Point; 7]

Source§

impl SimpleConvexGeometry for [Point; 8]

Source§

impl SimpleConvexGeometry for [Point; 9]

Source§

impl SimpleConvexGeometry for [Point; 10]

Source§

impl SimpleConvexGeometry for [Point; 11]

Source§

impl SimpleConvexGeometry for [Point; 12]

Source§

impl SimpleConvexGeometry for [Point; 13]

Source§

impl SimpleConvexGeometry for [Point; 14]

Source§

impl SimpleConvexGeometry for [Point; 15]

Source§

impl SimpleConvexGeometry for [Point; 16]

Source§

impl SimpleConvexGeometry for [Point; 17]

Source§

impl SimpleConvexGeometry for [Point; 18]

Source§

impl SimpleConvexGeometry for [Point; 19]

Source§

impl SimpleConvexGeometry for [Point; 20]

Source§

impl SimpleConvexGeometry for [Point; 21]

Source§

impl SimpleConvexGeometry for [Point; 22]

Source§

impl SimpleConvexGeometry for [Point; 23]

Source§

impl SimpleConvexGeometry for [Point; 24]

Source§

impl SimpleConvexGeometry for [Point; 25]

Source§

impl SimpleConvexGeometry for [Point; 26]

Source§

impl SimpleConvexGeometry for [Point; 27]

Source§

impl SimpleConvexGeometry for [Point; 28]

Source§

impl SimpleConvexGeometry for [Point; 29]

Source§

impl SimpleConvexGeometry for [Point; 30]

Source§

impl SimpleConvexGeometry for [Point; 31]

Source§

impl SimpleConvexGeometry for [Point; 32]

Source§

impl<'a> SimpleConvexGeometry for &'a [(f32, f32)]

Source§

type Vertices = Map<Iter<'a, (f32, f32)>, fn(&'a (f32, f32)) -> Vertex2D>

Source§

fn vertices(&self) -> Self::Vertices

Source§

fn vertex_count(&self) -> usize

Source§

impl<'a> SimpleConvexGeometry for &'a [(f64, f64)]

Source§

type Vertices = Map<Iter<'a, (f64, f64)>, fn(&'a (f64, f64)) -> Vertex2D>

Source§

fn vertices(&self) -> Self::Vertices

Source§

fn vertex_count(&self) -> usize

Source§

impl<'a> SimpleConvexGeometry for &'a [Point]

Source§

type Vertices = Map<Iter<'a, Point>, fn(&'a Point) -> Vertex2D>

Source§

fn vertices(&self) -> Self::Vertices

Source§

fn vertex_count(&self) -> usize

Source§

impl<'a> SimpleConvexGeometry for &'a [Vertex2D]

Source§

impl<'a> SimpleConvexGeometry for Vec<Point>

Implementors§