Struct maplibre::benchmarking::tessellation::VertexConstructor
source · pub struct VertexConstructor {}Expand description
Constructor for Fill and Stroke vertices.
-Trait Implementations§
source§impl FillVertexConstructor<ShaderVertex> for VertexConstructor
impl FillVertexConstructor<ShaderVertex> for VertexConstructor
fn new_vertex(&mut self, vertex: FillVertex<'_>) -> ShaderVertex
source§impl StrokeVertexConstructor<ShaderVertex> for VertexConstructor
impl StrokeVertexConstructor<ShaderVertex> for VertexConstructor
fn new_vertex(&mut self, vertex: StrokeVertex<'_, '_>) -> ShaderVertex
Auto Trait Implementations§
impl RefUnwindSafe for VertexConstructor
impl Send for VertexConstructor
impl Sync for VertexConstructor
impl Unpin for VertexConstructor
impl UnwindSafe for VertexConstructor
Blanket Implementations§
Trait Implementations§
source§impl FillVertexConstructor<ShaderVertex> for VertexConstructor
impl FillVertexConstructor<ShaderVertex> for VertexConstructor
fn new_vertex(&mut self, vertex: FillVertex<'_>) -> ShaderVertex
source§impl StrokeVertexConstructor<ShaderVertex> for VertexConstructor
impl StrokeVertexConstructor<ShaderVertex> for VertexConstructor
fn new_vertex(&mut self, vertex: StrokeVertex<'_, '_>) -> ShaderVertex
Auto Trait Implementations§
impl RefUnwindSafe for VertexConstructor
impl Send for VertexConstructor
impl Sync for VertexConstructor
impl Unpin for VertexConstructor
impl UnwindSafe for VertexConstructor
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> Downcast for Twhere
diff --git a/docs/api/maplibre/coords/struct.LatLon.html b/docs/api/maplibre/coords/struct.LatLon.html
index a5c9ee27..b3ed046c 100644
--- a/docs/api/maplibre/coords/struct.LatLon.html
+++ b/docs/api/maplibre/coords/struct.LatLon.html
@@ -7,7 +7,7 @@ Uses the WGS-84 approximation. The radius at the equator is ~6378137 and at the
6371008.8 is one published “average radius” see https://en.wikipedia.org/wiki/Earth_radius#Mean_radius, or ftp://athena.fsv.cvut.cz/ZFG/grs80-Moritz.pdf p.4
impl<T> Downcast for Twhere
diff --git a/docs/api/maplibre/coords/struct.LatLon.html b/docs/api/maplibre/coords/struct.LatLon.html
index a5c9ee27..b3ed046c 100644
--- a/docs/api/maplibre/coords/struct.LatLon.html
+++ b/docs/api/maplibre/coords/struct.LatLon.html
@@ -7,7 +7,7 @@ Uses the WGS-84 approximation. The radius at the equator is ~6378137 and at the
6371008.8 is one published “average radius” see https://en.wikipedia.org/wiki/Earth_radius#Mean_radius, or ftp://athena.fsv.cvut.cz/ZFG/grs80-Moritz.pdf p.4
sourceconst EARTH_CIRCUMFRENCE: f64 = 40030228.884071849f64
const EARTH_CIRCUMFRENCE: f64 = 40030228.884071849f64
The average circumference of the world in meters.
sourcefn circumference_at_latitude(&self) -> f64
fn circumference_at_latitude(&self) -> f64
The circumference at a line of latitude in meters.
-