Skip to main content

ViewerApi

Struct ViewerApi 

Source
pub struct ViewerApi { /* private fields */ }
Expand description

Raw C ABI for GeoKernel.Viewer. Loaded modules remain resident until process exit.

Implementations§

Source§

impl ViewerApi

Source

pub const SYMBOLS: &'static [&'static str]

Source

pub unsafe fn load(path: &Path) -> Result<Self, LoadError>

Load a trusted, ABI-compatible GeoKernel runtime module.

§Safety

Library initializers must be safe and every symbol must match this SDK ABI.

Source

pub unsafe fn GeoKernelViewer_AddArcMakeConnectedLayer( &self, a0: *mut c_void, a1: *const WChar, a2: *const f64, a3: i32, a4: *const f64, a5: *const i32, a6: i32, a7: *const WChar, ) -> i32

Native declaration: int GeoKernelViewer_AddArcMakeConnectedLayer( void* viewer, const wchar_t* name, const double* baseXyPairs, int basePointCount, const double* continuationXyPairs, const int* continuationPointCounts, int continuationCount, const wchar_t* styleJson).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_AddArcSplitOnCrossLayer( &self, a0: *mut c_void, a1: *const WChar, a2: *const f64, a3: i32, a4: *const f64, a5: *const i32, a6: i32, a7: *const WChar, ) -> i32

Native declaration: int GeoKernelViewer_AddArcSplitOnCrossLayer( void* viewer, const wchar_t* name, const double* arcXyPairs, int arcPointCount, const double* cutterXyPairs, const int* cutterPointCounts, int cutterCount, const wchar_t* styleJson).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_AddAttributedPointLayer( &self, a0: *mut c_void, a1: *const WChar, a2: *const f64, a3: i32, a4: *const WChar, a5: *const WChar, a6: i32, ) -> i32

Native declaration: int GeoKernelViewer_AddAttributedPointLayer( void* viewer, const wchar_t* name, const double* xyPairs, int pointCount, const wchar_t* attributesJson, const wchar_t* styleJson, int sourceEpsg).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_AddEmptyVectorLayer( &self, a0: *mut c_void, a1: *const WChar, a2: i32, a3: *const WChar, ) -> i32

Native declaration: int GeoKernelViewer_AddEmptyVectorLayer( void* viewer, const wchar_t* name, int shapeType, const wchar_t* styleJson).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_AddExternalLayer( &self, a0: *mut c_void, a1: *mut c_void, ) -> bool

Native declaration: bool GeoKernelViewer_AddExternalLayer(void* viewer, void* layer).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_AddFixedPolylineLayer( &self, a0: *mut c_void, a1: *const WChar, a2: *const f64, a3: *const i32, a4: i32, a5: i32, a6: *const WChar, ) -> i32

Native declaration: int GeoKernelViewer_AddFixedPolylineLayer( void* viewer, const wchar_t* name, const double* xyPairs, const int* partPointCounts, int partCount, int operation, const wchar_t* styleJson).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_AddLayerAttributeDefinition( &self, a0: *mut c_void, a1: i32, a2: *const WChar, a3: i32, a4: i32, a5: i32, ) -> bool

Native declaration: bool GeoKernelViewer_AddLayerAttributeDefinition(void* viewer, int index, const wchar_t* name, int type, int length, int decimalCount).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_AddLayerFile( &self, a0: *mut c_void, a1: *const WChar, ) -> bool

Native declaration: bool GeoKernelViewer_AddLayerFile(void* viewer, const wchar_t* path).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_AddLayerFileWithCallbacks( &self, a0: *mut c_void, a1: *const WChar, a2: *const WChar, a3: GeoKernelViewerLayerLoadProgressCallback, a4: GeoKernelViewerLayerLoadCancellationCallback, a5: GeoKernelViewerSpatialIndexStateCallback, a6: *mut c_void, ) -> bool

Native declaration: bool GeoKernelViewer_AddLayerFileWithCallbacks( void* viewer, const wchar_t* path, const wchar_t* optionsJson, GeoKernelViewerLayerLoadProgressCallback progressCallback, GeoKernelViewerLayerLoadCancellationCallback cancellationCallback, GeoKernelViewerSpatialIndexStateCallback indexStateCallback, void* context).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_AddLayerFileWithOptionsJson( &self, a0: *mut c_void, a1: *const WChar, a2: *const WChar, ) -> bool

Native declaration: bool GeoKernelViewer_AddLayerFileWithOptionsJson(void* viewer, const wchar_t* path, const wchar_t* optionsJson).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_AddOpenStreetMapLayer( &self, a0: *mut c_void, a1: bool, ) -> i32

Native declaration: int GeoKernelViewer_AddOpenStreetMapLayer(void* viewer, bool localCacheEnabled).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_AddPointBufferLayer( &self, a0: *mut c_void, a1: *const WChar, a2: f64, a3: f64, a4: f64, a5: i32, a6: *const WChar, ) -> i32

Native declaration: int GeoKernelViewer_AddPointBufferLayer( void* viewer, const wchar_t* name, double x, double y, double distance, int pointsPerQuadrant, const wchar_t* styleJson).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_AddPointBufferShape( &self, a0: *mut c_void, a1: f64, a2: f64, a3: f64, a4: i32, a5: *const WChar, ) -> bool

Native declaration: bool GeoKernelViewer_AddPointBufferShape(void* viewer, double x, double y, double distance, int pointsPerQuadrant, const wchar_t* styleJson).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_AddPointLayer( &self, a0: *mut c_void, a1: *const WChar, a2: *const f64, a3: i32, a4: *const WChar, ) -> i32

Native declaration: int GeoKernelViewer_AddPointLayer( void* viewer, const wchar_t* name, const double* xyPairs, int pointCount, const wchar_t* styleJson).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_AddPointShape( &self, a0: *mut c_void, a1: f64, a2: f64, a3: *const WChar, ) -> bool

Native declaration: bool GeoKernelViewer_AddPointShape(void* viewer, double x, double y, const wchar_t* styleJson).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_AddPointToEditLayer( &self, a0: *mut c_void, a1: i32, a2: f64, a3: f64, ) -> bool

Native declaration: bool GeoKernelViewer_AddPointToEditLayer(void* viewer, int index, double worldX, double worldY).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_AddPointToEditLayerWithAttributes( &self, a0: *mut c_void, a1: i32, a2: f64, a3: f64, a4: *const WChar, ) -> bool

Native declaration: bool GeoKernelViewer_AddPointToEditLayerWithAttributes(void* viewer, int index, double worldX, double worldY, const wchar_t* attributesJson).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_AddPolygonBufferLayer( &self, a0: *mut c_void, a1: *const WChar, a2: *const f64, a3: i32, a4: f64, a5: i32, a6: *const WChar, ) -> i32

Native declaration: int GeoKernelViewer_AddPolygonBufferLayer( void* viewer, const wchar_t* name, const double* xyPairs, int pointCount, double distance, int pointsPerQuadrant, const wchar_t* styleJson).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_AddPolygonBufferShape( &self, a0: *mut c_void, a1: *const f64, a2: i32, a3: f64, a4: i32, a5: *const WChar, ) -> bool

Native declaration: bool GeoKernelViewer_AddPolygonBufferShape(void* viewer, const double* xyPairs, int pointCount, double distance, int pointsPerQuadrant, const wchar_t* styleJson).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_AddPolygonConvexHullLayer( &self, a0: *mut c_void, a1: *const WChar, a2: *const f64, a3: i32, a4: *const WChar, ) -> i32

Native declaration: int GeoKernelViewer_AddPolygonConvexHullLayer( void* viewer, const wchar_t* name, const double* xyPairs, int pointCount, const wchar_t* styleJson).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_AddPolygonConvexHullTwoLayer( &self, a0: *mut c_void, a1: *const WChar, a2: *const f64, a3: i32, a4: *const f64, a5: i32, a6: *const WChar, ) -> i32

Native declaration: int GeoKernelViewer_AddPolygonConvexHullTwoLayer( void* viewer, const wchar_t* name, const double* leftXyPairs, int leftPointCount, const double* rightXyPairs, int rightPointCount, const wchar_t* styleJson).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_AddPolygonDifferenceLayer( &self, a0: *mut c_void, a1: *const WChar, a2: *const f64, a3: i32, a4: *const f64, a5: i32, a6: *const WChar, ) -> i32

Native declaration: int GeoKernelViewer_AddPolygonDifferenceLayer( void* viewer, const wchar_t* name, const double* leftXyPairs, int leftPointCount, const double* rightXyPairs, int rightPointCount, const wchar_t* styleJson).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_AddPolygonFindAndDeleteLoopsLayer( &self, a0: *mut c_void, a1: *const WChar, a2: *const f64, a3: *const i32, a4: i32, a5: *const WChar, ) -> i32

Native declaration: int GeoKernelViewer_AddPolygonFindAndDeleteLoopsLayer( void* viewer, const wchar_t* name, const double* xyPairs, const int* partPointCounts, int partCount, const wchar_t* styleJson).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_AddPolygonIntersectionLayer( &self, a0: *mut c_void, a1: *const WChar, a2: *const f64, a3: i32, a4: *const f64, a5: i32, a6: *const WChar, ) -> i32

Native declaration: int GeoKernelViewer_AddPolygonIntersectionLayer( void* viewer, const wchar_t* name, const double* leftXyPairs, int leftPointCount, const double* rightXyPairs, int rightPointCount, const wchar_t* styleJson).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_AddPolygonLayer( &self, a0: *mut c_void, a1: *const WChar, a2: *const f64, a3: *const i32, a4: i32, a5: *const WChar, ) -> i32

Native declaration: int GeoKernelViewer_AddPolygonLayer( void* viewer, const wchar_t* name, const double* xyPairs, const int* partPointCounts, int partCount, const wchar_t* styleJson).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_AddPolygonPartsShape( &self, a0: *mut c_void, a1: *const f64, a2: *const i32, a3: i32, a4: *const WChar, ) -> bool

Native declaration: bool GeoKernelViewer_AddPolygonPartsShape(void* viewer, const double* xyPairs, const int* partPointCounts, int partCount, const wchar_t* styleJson).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_AddPolygonPartsShapeWithAttributes( &self, a0: *mut c_void, a1: *const f64, a2: *const i32, a3: i32, a4: *const WChar, a5: *const WChar, ) -> bool

Native declaration: bool GeoKernelViewer_AddPolygonPartsShapeWithAttributes(void* viewer, const double* xyPairs, const int* partPointCounts, int partCount, const wchar_t* attributesJson, const wchar_t* styleJson).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_AddPolygonShape( &self, a0: *mut c_void, a1: *const f64, a2: i32, a3: *const WChar, ) -> bool

Native declaration: bool GeoKernelViewer_AddPolygonShape(void* viewer, const double* xyPairs, int pointCount, const wchar_t* styleJson).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_AddPolygonShapeWithAttributes( &self, a0: *mut c_void, a1: *const f64, a2: i32, a3: *const WChar, a4: *const WChar, ) -> bool

Native declaration: bool GeoKernelViewer_AddPolygonShapeWithAttributes(void* viewer, const double* xyPairs, int pointCount, const wchar_t* attributesJson, const wchar_t* styleJson).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_AddPolygonSplitByArcLayer( &self, a0: *mut c_void, a1: *const WChar, a2: *const f64, a3: i32, a4: *const f64, a5: i32, a6: *const WChar, ) -> i32

Native declaration: int GeoKernelViewer_AddPolygonSplitByArcLayer( void* viewer, const wchar_t* name, const double* polygonXyPairs, int polygonPointCount, const double* arcXyPairs, int arcPointCount, const wchar_t* styleJson).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_AddPolygonSymmetricalDifferenceLayer( &self, a0: *mut c_void, a1: *const WChar, a2: *const f64, a3: i32, a4: *const f64, a5: i32, a6: *const WChar, ) -> i32

Native declaration: int GeoKernelViewer_AddPolygonSymmetricalDifferenceLayer( void* viewer, const wchar_t* name, const double* leftXyPairs, int leftPointCount, const double* rightXyPairs, int rightPointCount, const wchar_t* styleJson).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_AddPolygonToEditLayer( &self, a0: *mut c_void, a1: i32, a2: *const f64, a3: i32, ) -> bool

Native declaration: bool GeoKernelViewer_AddPolygonToEditLayer(void* viewer, int index, const double* xyPairs, int pointCount).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_AddPolygonToEditLayerWithAttributes( &self, a0: *mut c_void, a1: i32, a2: *const f64, a3: i32, a4: *const WChar, ) -> bool

Native declaration: bool GeoKernelViewer_AddPolygonToEditLayerWithAttributes(void* viewer, int index, const double* xyPairs, int pointCount, const wchar_t* attributesJson).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_AddPolygonUnionLayer( &self, a0: *mut c_void, a1: *const WChar, a2: *const f64, a3: i32, a4: *const f64, a5: i32, a6: *const WChar, ) -> i32

Native declaration: int GeoKernelViewer_AddPolygonUnionLayer( void* viewer, const wchar_t* name, const double* leftXyPairs, int leftPointCount, const double* rightXyPairs, int rightPointCount, const wchar_t* styleJson).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_AddPolygonUnionOnListLayer( &self, a0: *mut c_void, a1: *const WChar, a2: *const f64, a3: *const i32, a4: i32, a5: *const WChar, ) -> i32

Native declaration: int GeoKernelViewer_AddPolygonUnionOnListLayer( void* viewer, const wchar_t* name, const double* xyPairs, const int* polygonPointCounts, int polygonCount, const wchar_t* styleJson).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_AddPolylineBufferLayer( &self, a0: *mut c_void, a1: *const WChar, a2: *const f64, a3: i32, a4: f64, a5: i32, a6: *const WChar, ) -> i32

Native declaration: int GeoKernelViewer_AddPolylineBufferLayer( void* viewer, const wchar_t* name, const double* xyPairs, int pointCount, double distance, int pointsPerQuadrant, const wchar_t* styleJson).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_AddPolylineBufferShape( &self, a0: *mut c_void, a1: *const f64, a2: i32, a3: f64, a4: i32, a5: *const WChar, ) -> bool

Native declaration: bool GeoKernelViewer_AddPolylineBufferShape(void* viewer, const double* xyPairs, int pointCount, double distance, int pointsPerQuadrant, const wchar_t* styleJson).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_AddPolylineLayer( &self, a0: *mut c_void, a1: *const WChar, a2: *const f64, a3: *const i32, a4: i32, a5: *const WChar, ) -> i32

Native declaration: int GeoKernelViewer_AddPolylineLayer( void* viewer, const wchar_t* name, const double* xyPairs, const int* partPointCounts, int partCount, const wchar_t* styleJson).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_AddPolylineShape( &self, a0: *mut c_void, a1: *const f64, a2: i32, a3: *const WChar, ) -> bool

Native declaration: bool GeoKernelViewer_AddPolylineShape(void* viewer, const double* xyPairs, int pointCount, const wchar_t* styleJson).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_AddPolylineToEditLayer( &self, a0: *mut c_void, a1: i32, a2: *const f64, a3: i32, ) -> bool

Native declaration: bool GeoKernelViewer_AddPolylineToEditLayer(void* viewer, int index, const double* xyPairs, int pointCount).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_AddPolylineToEditLayerWithAttributes( &self, a0: *mut c_void, a1: i32, a2: *const f64, a3: i32, a4: *const WChar, ) -> bool

Native declaration: bool GeoKernelViewer_AddPolylineToEditLayerWithAttributes(void* viewer, int index, const double* xyPairs, int pointCount, const wchar_t* attributesJson).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_AddShortestRouteLayerBetweenPoints( &self, a0: *mut c_void, a1: f64, a2: f64, a3: f64, a4: f64, a5: i32, a6: f64, a7: f64, a8: *const WChar, a9: bool, a10: *mut GeoKernelViewerRouteSummary, ) -> bool

Native declaration: bool GeoKernelViewer_AddShortestRouteLayerBetweenPoints(void* viewer, double fromWorldX, double fromWorldY, double toWorldX, double toWorldY, int metric, double maxSnapDistance, double defaultSpeedKmh, const wchar_t* layerName, bool zoomToRoute, GeoKernelViewerRouteSummary* summary).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_AddTextShape( &self, a0: *mut c_void, a1: f64, a2: f64, a3: *const WChar, a4: *const WChar, ) -> bool

Native declaration: bool GeoKernelViewer_AddTextShape(void* viewer, double x, double y, const wchar_t* text, const wchar_t* styleJson).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_AddTopFeatureToSelectionAt( &self, a0: *mut c_void, a1: f64, a2: f64, a3: i32, ) -> bool

Native declaration: bool GeoKernelViewer_AddTopFeatureToSelectionAt(void* viewer, double screenX, double screenY, int pixelTolerance).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_AddWfsLayer( &self, a0: *mut c_void, a1: *const WChar, a2: *const WChar, a3: *const WChar, a4: *const WChar, a5: *const WChar, a6: *const WChar, a7: i32, ) -> i32

Native declaration: int GeoKernelViewer_AddWfsLayer( void* viewer, const wchar_t* name, const wchar_t* serviceUrl, const wchar_t* typeName, const wchar_t* version, const wchar_t* srsName, const wchar_t* outputFormat, int maxFeatures).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_AddWktShape( &self, a0: *mut c_void, a1: *const WChar, ) -> bool

Native declaration: bool GeoKernelViewer_AddWktShape(void* viewer, const wchar_t* wkt).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_AddWmsLayer( &self, a0: *mut c_void, a1: *const WChar, a2: *const WChar, a3: *const WChar, a4: *const WChar, a5: *const WChar, a6: *const WChar, a7: *const WChar, a8: bool, a9: i32, a10: i32, a11: i32, a12: *const WChar, a13: bool, a14: *const WChar, ) -> i32

Native declaration: int GeoKernelViewer_AddWmsLayer( void* viewer, const wchar_t* name, const wchar_t* serviceUrl, const wchar_t* layers, const wchar_t* styles, const wchar_t* version, const wchar_t* crs, const wchar_t* format, bool transparent, int minZoom, int maxZoom, int tileSize, const wchar_t* attribution, bool localCacheEnabled, const wchar_t* cacheDirectory).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_AddWmtsLayer( &self, a0: *mut c_void, a1: *const WChar, a2: *const WChar, a3: *const WChar, a4: *const WChar, a5: *const WChar, a6: *const WChar, a7: *const WChar, a8: i32, a9: i32, a10: i32, a11: *const WChar, a12: bool, a13: *const WChar, ) -> i32

Native declaration: int GeoKernelViewer_AddWmtsLayer( void* viewer, const wchar_t* name, const wchar_t* serviceUrl, const wchar_t* layer, const wchar_t* style, const wchar_t* format, const wchar_t* tileMatrixSet, const wchar_t* customUrlTemplate, int minZoom, int maxZoom, int tileSize, const wchar_t* attribution, bool localCacheEnabled, const wchar_t* cacheDirectory).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_AddXyzLayer( &self, a0: *mut c_void, a1: *const WChar, a2: *const WChar, a3: i32, a4: i32, a5: i32, a6: *const WChar, a7: bool, a8: *const WChar, ) -> i32

Native declaration: int GeoKernelViewer_AddXyzLayer( void* viewer, const wchar_t* name, const wchar_t* urlTemplate, int minZoom, int maxZoom, int tileSize, const wchar_t* attribution, bool localCacheEnabled, const wchar_t* cacheDirectory).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_ApplyLayerCategorizedRenderer( &self, a0: *mut c_void, a1: i32, a2: *const WChar, a3: *const WChar, a4: i32, a5: bool, a6: i32, a7: i32, a8: f64, a9: f64, ) -> bool

Native declaration: bool GeoKernelViewer_ApplyLayerCategorizedRenderer( void* viewer, int index, const wchar_t* fieldName, const wchar_t* colorRampName, int categoryLimit, bool reverseColorRamp, int sampleLimit, int styleTarget, double startSize, double endSize).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_ApplyLayerGraduatedRenderer( &self, a0: *mut c_void, a1: i32, a2: *const WChar, a3: i32, a4: i32, a5: *const WChar, a6: f64, a7: *const f64, a8: i32, a9: i32, a10: bool, a11: i32, a12: i32, a13: f64, a14: f64, ) -> bool

Native declaration: bool GeoKernelViewer_ApplyLayerGraduatedRenderer( void* viewer, int index, const wchar_t* fieldName, int method, int classCount, const wchar_t* colorRampName, double interval, const double* manualBreaks, int manualBreakCount, int colorRampMode, bool reverseColorRamp, int sampleLimit, int styleTarget, double startSize, double endSize).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_ArcMakeConnectedJson( &self, a0: *mut c_void, a1: *const f64, a2: i32, a3: *const f64, a4: *const i32, a5: i32, a6: *mut WChar, a7: i32, ) -> i32

Native declaration: int GeoKernelViewer_ArcMakeConnectedJson( void* viewer, const double* baseXyPairs, int basePointCount, const double* continuationXyPairs, const int* continuationPointCounts, int continuationCount, wchar_t* buffer, int bufferLength).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_ArcSplitOnCrossJson( &self, a0: *mut c_void, a1: *const f64, a2: i32, a3: *const f64, a4: *const i32, a5: i32, a6: *mut WChar, a7: i32, ) -> i32

Native declaration: int GeoKernelViewer_ArcSplitOnCrossJson( void* viewer, const double* arcXyPairs, int arcPointCount, const double* cutterXyPairs, const int* cutterPointCounts, int cutterCount, wchar_t* buffer, int bufferLength).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_BeginEditLayer( &self, a0: *mut c_void, a1: i32, ) -> bool

Native declaration: bool GeoKernelViewer_BeginEditLayer(void* viewer, int index).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_BuildRoutingGraphForLayer( &self, a0: *mut c_void, a1: i32, a2: f64, a3: bool, a4: *const WChar, a5: *const WChar, a6: *const WChar, a7: f64, ) -> bool

Native declaration: bool GeoKernelViewer_BuildRoutingGraphForLayer(void* viewer, int index, double snapTolerance, bool undirected, const wchar_t* speedFieldName, const wchar_t* nameFieldName, const wchar_t* oneWayFieldName, double defaultSpeedKmh).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_CanEditLayer( &self, a0: *mut c_void, a1: i32, ) -> bool

Native declaration: bool GeoKernelViewer_CanEditLayer(void* viewer, int index).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_CanEditSelectedFeatures( &self, a0: *mut c_void, ) -> bool

Native declaration: bool GeoKernelViewer_CanEditSelectedFeatures(void* viewer).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_CanEditSelectedVertices( &self, a0: *mut c_void, ) -> bool

Native declaration: bool GeoKernelViewer_CanEditSelectedVertices(void* viewer).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_CanMoveSelectedFeatures( &self, a0: *mut c_void, ) -> bool

Native declaration: bool GeoKernelViewer_CanMoveSelectedFeatures(void* viewer).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_CanRedoEditLayer( &self, a0: *mut c_void, a1: i32, ) -> bool

Native declaration: bool GeoKernelViewer_CanRedoEditLayer(void* viewer, int index).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_CanUndoEditLayer( &self, a0: *mut c_void, a1: i32, ) -> bool

Native declaration: bool GeoKernelViewer_CanUndoEditLayer(void* viewer, int index).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_CancelEditSketch(&self, a0: *mut c_void)

Native declaration: void GeoKernelViewer_CancelEditSketch(void* viewer).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_CheckPolygonRing( &self, a0: *mut c_void, a1: *const f64, a2: i32, ) -> bool

Native declaration: bool GeoKernelViewer_CheckPolygonRing( void* viewer, const double* xyPairs, int pointCount).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_ClearAll(&self, a0: *mut c_void)

Native declaration: void GeoKernelViewer_ClearAll(void* viewer).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_ClearLayerSymbolRenderer( &self, a0: *mut c_void, a1: i32, ) -> bool

Native declaration: bool GeoKernelViewer_ClearLayerSymbolRenderer(void* viewer, int index).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_ClearLayerVisibleScaleRange( &self, a0: *mut c_void, a1: i32, ) -> bool

Native declaration: bool GeoKernelViewer_ClearLayerVisibleScaleRange(void* viewer, int index).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_ClearLayers(&self, a0: *mut c_void)

Native declaration: void GeoKernelViewer_ClearLayers(void* viewer).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_ClearMeasure(&self, a0: *mut c_void)

Native declaration: void GeoKernelViewer_ClearMeasure(void* viewer).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_ClearNewFeatureAttributes(&self, a0: *mut c_void)

Native declaration: void GeoKernelViewer_ClearNewFeatureAttributes(void* viewer).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_ClearOverlayShapes(&self, a0: *mut c_void)

Native declaration: void GeoKernelViewer_ClearOverlayShapes(void* viewer).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_ClearRoutingGraph(&self, a0: *mut c_void)

Native declaration: void GeoKernelViewer_ClearRoutingGraph(void* viewer).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_ClearSelectedFeatures(&self, a0: *mut c_void)

Native declaration: void GeoKernelViewer_ClearSelectedFeatures(void* viewer).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_ClearShapes(&self, a0: *mut c_void)

Native declaration: void GeoKernelViewer_ClearShapes(void* viewer).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_CloseProject(&self, a0: *mut c_void)

Native declaration: void GeoKernelViewer_CloseProject(void* viewer).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_CommitEditLayer( &self, a0: *mut c_void, a1: i32, ) -> bool

Native declaration: bool GeoKernelViewer_CommitEditLayer(void* viewer, int index).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_ContainsColorRamp( &self, a0: *mut c_void, a1: *const WChar, ) -> bool

Native declaration: bool GeoKernelViewer_ContainsColorRamp(void* viewer, const wchar_t* name).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_ConvexHullPolygonJson( &self, a0: *mut c_void, a1: *const f64, a2: i32, a3: *mut WChar, a4: i32, ) -> i32

Native declaration: int GeoKernelViewer_ConvexHullPolygonJson( void* viewer, const double* xyPairs, int pointCount, wchar_t* buffer, int bufferLength).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_ConvexHullTwoPolygonsJson( &self, a0: *mut c_void, a1: *const f64, a2: i32, a3: *const f64, a4: i32, a5: *mut WChar, a6: i32, ) -> i32

Native declaration: int GeoKernelViewer_ConvexHullTwoPolygonsJson( void* viewer, const double* leftXyPairs, int leftPointCount, const double* rightXyPairs, int rightPointCount, wchar_t* buffer, int bufferLength).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_CoordinateSystemFromAuthorityJson( &self, a0: *const WChar, a1: i32, a2: *mut WChar, a3: i32, ) -> i32

Native declaration: int GeoKernelViewer_CoordinateSystemFromAuthorityJson(const wchar_t* authName, int authCode, wchar_t* buffer, int bufferLength).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_CoordinateSystemFromEpsgJson( &self, a0: i32, a1: *mut WChar, a2: i32, ) -> i32

Native declaration: int GeoKernelViewer_CoordinateSystemFromEpsgJson(int epsgCode, wchar_t* buffer, int bufferLength).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_Create(&self, a0: i32, a1: i32) -> *mut c_void

Native declaration: void* GeoKernelViewer_Create(int width, int height).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_CreateWindow( &self, a0: i32, a1: i32, a2: *const WChar, a3: bool, ) -> *mut c_void

Native declaration: void* GeoKernelViewer_CreateWindow(int width, int height, const wchar_t* title, bool navigationToolbar).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_DeleteSelectedFeatureVertexInEditLayer( &self, a0: *mut c_void, a1: i32, a2: i32, ) -> bool

Native declaration: bool GeoKernelViewer_DeleteSelectedFeatureVertexInEditLayer(void* viewer, int partIndex, int vertexIndex).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_DeleteSelectedFeaturesFromEditLayer( &self, a0: *mut c_void, ) -> bool

Native declaration: bool GeoKernelViewer_DeleteSelectedFeaturesFromEditLayer(void* viewer).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_DeleteSelectedVertexFromEditLayer( &self, a0: *mut c_void, ) -> bool

Native declaration: bool GeoKernelViewer_DeleteSelectedVertexFromEditLayer(void* viewer).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_DeleteShapeFromEditLayer( &self, a0: *mut c_void, a1: i32, a2: i32, ) -> bool

Native declaration: bool GeoKernelViewer_DeleteShapeFromEditLayer(void* viewer, int index, int shapeId).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_Destroy(&self, a0: *mut c_void)

Native declaration: void GeoKernelViewer_Destroy(void* viewer).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_DifferencePolygonsJson( &self, a0: *mut c_void, a1: *const f64, a2: i32, a3: *const f64, a4: i32, a5: *mut WChar, a6: i32, ) -> i32

Native declaration: int GeoKernelViewer_DifferencePolygonsJson( void* viewer, const double* leftXyPairs, int leftPointCount, const double* rightXyPairs, int rightPointCount, wchar_t* buffer, int bufferLength).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_EvaluateSpatialRelationJson( &self, a0: *mut c_void, a1: *const WChar, a2: *const WChar, a3: *mut WChar, a4: i32, ) -> i32

Native declaration: int GeoKernelViewer_EvaluateSpatialRelationJson(void* viewer, const wchar_t* leftWkt, const wchar_t* rightWkt, wchar_t* buffer, int bufferLength).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_FindAndDeleteLoopsJson( &self, a0: *mut c_void, a1: *const f64, a2: *const i32, a3: i32, a4: *mut WChar, a5: i32, ) -> i32

Native declaration: int GeoKernelViewer_FindAndDeleteLoopsJson( void* viewer, const double* xyPairs, const int* partPointCounts, int partCount, wchar_t* buffer, int bufferLength).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_FindMatchingArcIndex( &self, a0: *mut c_void, a1: *const f64, a2: i32, a3: *const f64, a4: *const i32, a5: i32, ) -> i32

Native declaration: int GeoKernelViewer_FindMatchingArcIndex( void* viewer, const double* queryXyPairs, int queryPointCount, const double* candidateXyPairs, const int* candidatePointCounts, int candidateCount).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_FinishMeasure(&self, a0: *mut c_void)

Native declaration: void GeoKernelViewer_FinishMeasure(void* viewer).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_FixPolygonJson( &self, a0: *mut c_void, a1: *const f64, a2: i32, a3: *mut WChar, a4: i32, ) -> i32

Native declaration: int GeoKernelViewer_FixPolygonJson( void* viewer, const double* xyPairs, int pointCount, wchar_t* buffer, int bufferLength).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_FixPolylineJson( &self, a0: *mut c_void, a1: *const f64, a2: *const i32, a3: i32, a4: i32, a5: *mut WChar, a6: i32, ) -> i32

Native declaration: int GeoKernelViewer_FixPolylineJson( void* viewer, const double* xyPairs, const int* partPointCounts, int partCount, int operation, wchar_t* buffer, int bufferLength).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_FullExtent(&self, a0: *mut c_void)

Native declaration: void GeoKernelViewer_FullExtent(void* viewer).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_GetActiveEditLayerIndex( &self, a0: *mut c_void, ) -> i32

Native declaration: int GeoKernelViewer_GetActiveEditLayerIndex(void* viewer).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_GetColorRampNamesJson( &self, a0: *mut c_void, a1: *mut WChar, a2: i32, ) -> i32

Native declaration: int GeoKernelViewer_GetColorRampNamesJson(void* viewer, wchar_t* buffer, int bufferLength).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_GetCoordinateSystemInfoJson( &self, a0: *mut c_void, a1: *const WChar, a2: *mut WChar, a3: i32, ) -> i32

Native declaration: int GeoKernelViewer_GetCoordinateSystemInfoJson(void* viewer, const wchar_t* definition, wchar_t* buffer, int bufferLength).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_GetCurrentRenderBackendName( &self, a0: *mut c_void, a1: *mut WChar, a2: i32, ) -> i32

Native declaration: int GeoKernelViewer_GetCurrentRenderBackendName(void* viewer, wchar_t* buffer, int bufferLength).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_GetDefaultAttributesForLayerJson( &self, a0: *mut c_void, a1: i32, a2: *mut WChar, a3: i32, ) -> i32

Native declaration: int GeoKernelViewer_GetDefaultAttributesForLayerJson(void* viewer, int index, wchar_t* buffer, int bufferLength).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_GetEditSnappingEnabled( &self, a0: *mut c_void, ) -> bool

Native declaration: bool GeoKernelViewer_GetEditSnappingEnabled(void* viewer).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_GetEditSnappingTolerancePixels( &self, a0: *mut c_void, ) -> f64

Native declaration: double GeoKernelViewer_GetEditSnappingTolerancePixels(void* viewer).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_GetExtentOperationsJson( &self, a0: *mut c_void, a1: *const WChar, a2: *mut WChar, a3: i32, ) -> i32

Native declaration: int GeoKernelViewer_GetExtentOperationsJson(void* viewer, const wchar_t* requestJson, wchar_t* buffer, int bufferLength).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_GetExtraInfoText( &self, a0: *mut c_void, a1: *mut WChar, a2: i32, ) -> i32

Native declaration: int GeoKernelViewer_GetExtraInfoText(void* viewer, wchar_t* buffer, int bufferLength).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_GetFPS(&self, a0: *mut c_void) -> f64

Native declaration: double GeoKernelViewer_GetFPS(void* viewer).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_GetLayerAttributeDefinitionsJson( &self, a0: *mut c_void, a1: i32, a2: *mut WChar, a3: i32, ) -> i32

Native declaration: int GeoKernelViewer_GetLayerAttributeDefinitionsJson(void* viewer, int index, wchar_t* buffer, int bufferLength).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_GetLayerCount(&self, a0: *mut c_void) -> i32

Native declaration: int GeoKernelViewer_GetLayerCount(void* viewer).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_GetLayerDisplayText( &self, a0: *mut c_void, a1: i32, a2: *mut WChar, a3: i32, ) -> i32

Native declaration: int GeoKernelViewer_GetLayerDisplayText(void* viewer, int index, wchar_t* buffer, int bufferLength).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_GetLayerFeatureAttributesJson( &self, a0: *mut c_void, a1: i32, a2: i32, a3: *mut WChar, a4: i32, ) -> i32

Native declaration: int GeoKernelViewer_GetLayerFeatureAttributesJson(void* viewer, int index, int rowIndex, wchar_t* buffer, int bufferLength).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_GetLayerFeatureCount( &self, a0: *mut c_void, a1: i32, ) -> i32

Native declaration: int GeoKernelViewer_GetLayerFeatureCount(void* viewer, int index).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_GetLayerInfoByNameJson( &self, a0: *mut c_void, a1: *const WChar, a2: *mut WChar, a3: i32, ) -> i32

Native declaration: int GeoKernelViewer_GetLayerInfoByNameJson(void* viewer, const wchar_t* name, wchar_t* buffer, int bufferLength).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_GetLayerInfoJson( &self, a0: *mut c_void, a1: i32, a2: *mut WChar, a3: i32, ) -> i32

Native declaration: int GeoKernelViewer_GetLayerInfoJson(void* viewer, int index, wchar_t* buffer, int bufferLength).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_GetLayerProjectedExtent( &self, a0: *mut c_void, a1: i32, a2: *mut GeoKernelViewerExtent, ) -> bool

Native declaration: bool GeoKernelViewer_GetLayerProjectedExtent(void* viewer, int index, GeoKernelViewerExtent* extent).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_GetLayerShapeType( &self, a0: *mut c_void, a1: i32, ) -> i32

Native declaration: int GeoKernelViewer_GetLayerShapeType(void* viewer, int index).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_GetLayerStyleJson( &self, a0: *mut c_void, a1: i32, a2: *mut WChar, a3: i32, ) -> i32

Native declaration: int GeoKernelViewer_GetLayerStyleJson(void* viewer, int index, wchar_t* buffer, int bufferLength).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_GetLayerSymbolRendererJson( &self, a0: *mut c_void, a1: i32, a2: *mut WChar, a3: i32, ) -> i32

Native declaration: int GeoKernelViewer_GetLayerSymbolRendererJson(void* viewer, int index, wchar_t* buffer, int bufferLength).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_GetLayersInfoJson( &self, a0: *mut c_void, a1: *mut WChar, a2: i32, ) -> i32

Native declaration: int GeoKernelViewer_GetLayersInfoJson(void* viewer, wchar_t* buffer, int bufferLength).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_GetLinePointToleranceInfoJson( &self, a0: *mut c_void, a1: *const f64, a2: i32, a3: f64, a4: f64, a5: f64, a6: *mut WChar, a7: i32, ) -> i32

Native declaration: int GeoKernelViewer_GetLinePointToleranceInfoJson( void* viewer, const double* lineXyPairs, int linePointCount, double pointX, double pointY, double tolerance, wchar_t* buffer, int bufferLength).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_GetLoggingModeName( &self, a0: *mut c_void, a1: *mut WChar, a2: i32, ) -> i32

Native declaration: int GeoKernelViewer_GetLoggingModeName(void* viewer, wchar_t* buffer, int bufferLength).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_GetMapBackgroundColor( &self, a0: *mut c_void, ) -> i32

Native declaration: int GeoKernelViewer_GetMapBackgroundColor(void* viewer).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_GetMapScale(&self, a0: *mut c_void) -> f64

Native declaration: double GeoKernelViewer_GetMapScale(void* viewer).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_GetMeasureArea(&self, a0: *mut c_void) -> f64

Native declaration: double GeoKernelViewer_GetMeasureArea(void* viewer).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_GetMeasureMode(&self, a0: *mut c_void) -> i32

Native declaration: int GeoKernelViewer_GetMeasureMode(void* viewer).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_GetMeasureResultText( &self, a0: *mut c_void, a1: *mut WChar, a2: i32, ) -> i32

Native declaration: int GeoKernelViewer_GetMeasureResultText(void* viewer, wchar_t* buffer, int bufferLength).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_GetMeasureToolActive( &self, a0: *mut c_void, ) -> bool

Native declaration: bool GeoKernelViewer_GetMeasureToolActive(void* viewer).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_GetMeasureTotalDistance( &self, a0: *mut c_void, ) -> f64

Native declaration: double GeoKernelViewer_GetMeasureTotalDistance(void* viewer).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_GetMiniMapVisible(&self, a0: *mut c_void) -> bool

Native declaration: bool GeoKernelViewer_GetMiniMapVisible(void* viewer).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_GetNativeHandle(&self, a0: *mut c_void) -> usize

Native declaration: std::uintptr_t GeoKernelViewer_GetNativeHandle(void* viewer).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_GetNewFeatureAttributesJson( &self, a0: *mut c_void, a1: *mut WChar, a2: i32, ) -> i32

Native declaration: int GeoKernelViewer_GetNewFeatureAttributesJson(void* viewer, wchar_t* buffer, int bufferLength).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_GetPmTilesSourceLayersJson( &self, a0: *const WChar, a1: *mut WChar, a2: i32, ) -> i32

Native declaration: int GeoKernelViewer_GetPmTilesSourceLayersJson(const wchar_t* path, wchar_t* buffer, int bufferLength).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_GetPolygonCentroidInfoJson( &self, a0: *mut c_void, a1: *const f64, a2: i32, a3: *mut WChar, a4: i32, ) -> i32

Native declaration: int GeoKernelViewer_GetPolygonCentroidInfoJson( void* viewer, const double* xyPairs, int pointCount, wchar_t* buffer, int bufferLength).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_GetPolylineCrossingsJson( &self, a0: *mut c_void, a1: *const f64, a2: i32, a3: *const f64, a4: i32, a5: *mut WChar, a6: i32, ) -> i32

Native declaration: int GeoKernelViewer_GetPolylineCrossingsJson( void* viewer, const double* leftXyPairs, int leftPointCount, const double* rightXyPairs, int rightPointCount, wchar_t* buffer, int bufferLength).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_GetRasterOverviewDiagnosticsJson( &self, a0: *mut c_void, a1: i32, a2: bool, a3: *mut WChar, a4: i32, ) -> i32

Native declaration: int GeoKernelViewer_GetRasterOverviewDiagnosticsJson(void* viewer, int index, bool runBenchmark, wchar_t* buffer, int bufferLength).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_GetRasterTileCacheDiagnosticsJson( &self, a0: *mut c_void, a1: i32, a2: bool, a3: bool, a4: *mut WChar, a5: i32, ) -> i32

Native declaration: int GeoKernelViewer_GetRasterTileCacheDiagnosticsJson(void* viewer, int index, bool runBenchmark, bool clearCache, wchar_t* buffer, int bufferLength).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_GetRasterWorldTransformJson( &self, a0: *mut c_void, a1: i32, a2: f64, a3: f64, a4: *mut WChar, a5: i32, ) -> i32

Native declaration: int GeoKernelViewer_GetRasterWorldTransformJson(void* viewer, int index, double pixelX, double pixelY, wchar_t* buffer, int bufferLength).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_GetRenderBackendDiagnostics( &self, a0: *mut c_void, a1: *mut WChar, a2: i32, ) -> i32

Native declaration: int GeoKernelViewer_GetRenderBackendDiagnostics(void* viewer, wchar_t* buffer, int bufferLength).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_GetRenderBackendPreference( &self, a0: *mut c_void, ) -> i32

Native declaration: int GeoKernelViewer_GetRenderBackendPreference(void* viewer).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_GetRenderBackendPreferenceName( &self, a0: *mut c_void, a1: *mut WChar, a2: i32, ) -> i32

Native declaration: int GeoKernelViewer_GetRenderBackendPreferenceName(void* viewer, wchar_t* buffer, int bufferLength).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_GetRenderDebugFile(&self, a0: *mut c_void) -> bool

Native declaration: bool GeoKernelViewer_GetRenderDebugFile(void* viewer).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_GetRenderDebugWindow( &self, a0: *mut c_void, ) -> bool

Native declaration: bool GeoKernelViewer_GetRenderDebugWindow(void* viewer).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_GetRenderMetricsLogPath( &self, a0: *mut c_void, a1: *mut WChar, a2: i32, ) -> i32

Native declaration: int GeoKernelViewer_GetRenderMetricsLogPath(void* viewer, wchar_t* buffer, int bufferLength).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_GetRenderMetricsVisible( &self, a0: *mut c_void, ) -> bool

Native declaration: bool GeoKernelViewer_GetRenderMetricsVisible(void* viewer).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_GetRenderStepLog(&self, a0: *mut c_void) -> bool

Native declaration: bool GeoKernelViewer_GetRenderStepLog(void* viewer).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_GetRenderStepLogPath( &self, a0: *mut c_void, a1: *mut WChar, a2: i32, ) -> i32

Native declaration: int GeoKernelViewer_GetRenderStepLogPath(void* viewer, wchar_t* buffer, int bufferLength).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_GetRoutingGraphEdgeCount( &self, a0: *mut c_void, ) -> i32

Native declaration: int GeoKernelViewer_GetRoutingGraphEdgeCount(void* viewer).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_GetRoutingGraphJson( &self, a0: *mut c_void, a1: *mut WChar, a2: i32, ) -> i32

Native declaration: int GeoKernelViewer_GetRoutingGraphJson(void* viewer, wchar_t* buffer, int bufferLength).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_GetRoutingGraphLayerIndex( &self, a0: *mut c_void, ) -> i32

Native declaration: int GeoKernelViewer_GetRoutingGraphLayerIndex(void* viewer).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_GetRoutingGraphNodeCount( &self, a0: *mut c_void, ) -> i32

Native declaration: int GeoKernelViewer_GetRoutingGraphNodeCount(void* viewer).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_GetScaleBarVisible(&self, a0: *mut c_void) -> bool

Native declaration: bool GeoKernelViewer_GetScaleBarVisible(void* viewer).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_GetSelectedFeatureCount( &self, a0: *mut c_void, ) -> i32

Native declaration: int GeoKernelViewer_GetSelectedFeatureCount(void* viewer).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_GetSelectedFeaturesJson( &self, a0: *mut c_void, a1: *mut WChar, a2: i32, ) -> i32

Native declaration: int GeoKernelViewer_GetSelectedFeaturesJson(void* viewer, wchar_t* buffer, int bufferLength).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_GetShowExtraInfo(&self, a0: *mut c_void) -> bool

Native declaration: bool GeoKernelViewer_GetShowExtraInfo(void* viewer).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_GetShowFPS(&self, a0: *mut c_void) -> bool

Native declaration: bool GeoKernelViewer_GetShowFPS(void* viewer).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_GetSpatialIndexType(&self, a0: *mut c_void) -> i32

Native declaration: int GeoKernelViewer_GetSpatialIndexType(void* viewer).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_GetTool(&self, a0: *mut c_void) -> i32

Native declaration: int GeoKernelViewer_GetTool(void* viewer).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_GetUseHardwareAcceleration( &self, a0: *mut c_void, ) -> bool

Native declaration: bool GeoKernelViewer_GetUseHardwareAcceleration(void* viewer).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_GetVerboseMode(&self, a0: *mut c_void) -> bool

Native declaration: bool GeoKernelViewer_GetVerboseMode(void* viewer).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_GetViewExtent( &self, a0: *mut c_void, a1: *mut GeoKernelViewerExtent, ) -> bool

Native declaration: bool GeoKernelViewer_GetViewExtent(void* viewer, GeoKernelViewerExtent* extent).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_GetXyzLayerDiagnosticsJson( &self, a0: *mut c_void, a1: i32, a2: *mut WChar, a3: i32, ) -> i32

Native declaration: int GeoKernelViewer_GetXyzLayerDiagnosticsJson(void* viewer, int index, wchar_t* buffer, int bufferLength).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_HasActiveEditSketch( &self, a0: *mut c_void, ) -> bool

Native declaration: bool GeoKernelViewer_HasActiveEditSketch(void* viewer).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_HasRoutingGraph(&self, a0: *mut c_void) -> bool

Native declaration: bool GeoKernelViewer_HasRoutingGraph(void* viewer).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_HitTestFeatureCountInExtent( &self, a0: *mut c_void, a1: f64, a2: f64, a3: f64, a4: f64, ) -> i32

Native declaration: int GeoKernelViewer_HitTestFeatureCountInExtent(void* viewer, double xMin, double yMin, double xMax, double yMax).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_HitTestFeaturesAtJson( &self, a0: *mut c_void, a1: f64, a2: f64, a3: i32, a4: *mut WChar, a5: i32, ) -> i32

Native declaration: int GeoKernelViewer_HitTestFeaturesAtJson(void* viewer, double screenX, double screenY, int pixelTolerance, wchar_t* buffer, int bufferLength).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_HitTestFeaturesInExtentJson( &self, a0: *mut c_void, a1: f64, a2: f64, a3: f64, a4: f64, a5: *mut WChar, a6: i32, ) -> i32

Native declaration: int GeoKernelViewer_HitTestFeaturesInExtentJson(void* viewer, double xMin, double yMin, double xMax, double yMax, wchar_t* buffer, int bufferLength).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_HitTestFeaturesInScreenRectJson( &self, a0: *mut c_void, a1: i32, a2: i32, a3: i32, a4: i32, a5: *mut WChar, a6: i32, ) -> i32

Native declaration: int GeoKernelViewer_HitTestFeaturesInScreenRectJson(void* viewer, int left, int top, int right, int bottom, wchar_t* buffer, int bufferLength).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_HitTestFeaturesJson( &self, a0: *mut c_void, a1: f64, a2: f64, a3: f64, a4: *mut WChar, a5: i32, ) -> i32

Native declaration: int GeoKernelViewer_HitTestFeaturesJson(void* viewer, double worldX, double worldY, double worldTolerance, wchar_t* buffer, int bufferLength).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_HitTestTopFeatureAtJson( &self, a0: *mut c_void, a1: f64, a2: f64, a3: i32, a4: *mut WChar, a5: i32, ) -> i32

Native declaration: int GeoKernelViewer_HitTestTopFeatureAtJson(void* viewer, double screenX, double screenY, int pixelTolerance, wchar_t* buffer, int bufferLength).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_InsertSelectedFeatureVertexInEditLayer( &self, a0: *mut c_void, a1: i32, a2: i32, a3: f64, a4: f64, ) -> bool

Native declaration: bool GeoKernelViewer_InsertSelectedFeatureVertexInEditLayer(void* viewer, int partIndex, int insertIndex, double worldX, double worldY).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_IntersectionPolygonsJson( &self, a0: *mut c_void, a1: *const f64, a2: i32, a3: *const f64, a4: i32, a5: *mut WChar, a6: i32, ) -> i32

Native declaration: int GeoKernelViewer_IntersectionPolygonsJson( void* viewer, const double* leftXyPairs, int leftPointCount, const double* rightXyPairs, int rightPointCount, wchar_t* buffer, int bufferLength).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_InvalidateRenderCache( &self, a0: *mut c_void, a1: bool, a2: bool, )

Native declaration: void GeoKernelViewer_InvalidateRenderCache(void* viewer, bool clearTileCache, bool clearLayerCache).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_IsLayerDirty( &self, a0: *mut c_void, a1: i32, ) -> bool

Native declaration: bool GeoKernelViewer_IsLayerDirty(void* viewer, int index).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_IsLayerEditing( &self, a0: *mut c_void, a1: i32, ) -> bool

Native declaration: bool GeoKernelViewer_IsLayerEditing(void* viewer, int index).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_MoveLayer( &self, a0: *mut c_void, a1: i32, a2: i32, ) -> bool

Native declaration: bool GeoKernelViewer_MoveLayer(void* viewer, int fromIndex, int toIndex).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_MoveSelectedFeaturesInEditLayer( &self, a0: *mut c_void, a1: f64, a2: f64, ) -> bool

Native declaration: bool GeoKernelViewer_MoveSelectedFeaturesInEditLayer(void* viewer, double deltaX, double deltaY).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_OpenProject( &self, a0: *mut c_void, a1: *const WChar, ) -> bool

Native declaration: bool GeoKernelViewer_OpenProject(void* viewer, const wchar_t* path).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_OpenProjectWithProgress( &self, a0: *mut c_void, a1: *const WChar, a2: GeoKernelViewerLayerLoadProgressCallback, a3: *mut c_void, ) -> bool

Native declaration: bool GeoKernelViewer_OpenProjectWithProgress( void* viewer, const wchar_t* path, GeoKernelViewerLayerLoadProgressCallback progressCallback, void* context).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_ProcessEvents(&self)

Native declaration: void GeoKernelViewer_ProcessEvents().

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_ReadGeoJsonGeometryJson( &self, a0: *mut c_void, a1: *const WChar, a2: *mut WChar, a3: i32, ) -> i32

Native declaration: int GeoKernelViewer_ReadGeoJsonGeometryJson(void* viewer, const wchar_t* geoJson, wchar_t* buffer, int bufferLength).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_ReadGeoJsonLineStringJson( &self, a0: *mut c_void, a1: *const WChar, a2: *mut WChar, a3: i32, ) -> i32

Native declaration: int GeoKernelViewer_ReadGeoJsonLineStringJson(void* viewer, const wchar_t* geoJson, wchar_t* buffer, int bufferLength).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_ReadGeoJsonPoint( &self, a0: *mut c_void, a1: *const WChar, a2: *mut f64, a3: *mut f64, ) -> bool

Native declaration: bool GeoKernelViewer_ReadGeoJsonPoint(void* viewer, const wchar_t* geoJson, double* x, double* y).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_ReadGeoJsonPolygonJson( &self, a0: *mut c_void, a1: *const WChar, a2: *mut WChar, a3: i32, ) -> i32

Native declaration: int GeoKernelViewer_ReadGeoJsonPolygonJson(void* viewer, const wchar_t* geoJson, wchar_t* buffer, int bufferLength).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_ReadWkbGeometryJson( &self, a0: *mut c_void, a1: *const u8, a2: i32, a3: *mut WChar, a4: i32, ) -> i32

Native declaration: int GeoKernelViewer_ReadWkbGeometryJson(void* viewer, const unsigned char* bytes, int byteCount, wchar_t* buffer, int bufferLength).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_ReadWkbLineStringJson( &self, a0: *mut c_void, a1: *const u8, a2: i32, a3: *mut WChar, a4: i32, ) -> i32

Native declaration: int GeoKernelViewer_ReadWkbLineStringJson(void* viewer, const unsigned char* bytes, int byteCount, wchar_t* buffer, int bufferLength).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_ReadWkbPoint( &self, a0: *mut c_void, a1: *const u8, a2: i32, a3: *mut f64, a4: *mut f64, ) -> bool

Native declaration: bool GeoKernelViewer_ReadWkbPoint(void* viewer, const unsigned char* bytes, int byteCount, double* x, double* y).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_ReadWkbPolygonJson( &self, a0: *mut c_void, a1: *const u8, a2: i32, a3: bool, a4: *mut WChar, a5: i32, ) -> i32

Native declaration: int GeoKernelViewer_ReadWkbPolygonJson(void* viewer, const unsigned char* bytes, int byteCount, bool multiPolygon, wchar_t* buffer, int bufferLength).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_ReadWktLineStringJson( &self, a0: *mut c_void, a1: *const WChar, a2: *mut WChar, a3: i32, ) -> i32

Native declaration: int GeoKernelViewer_ReadWktLineStringJson(void* viewer, const wchar_t* wkt, wchar_t* buffer, int bufferLength).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_ReadWktPoint( &self, a0: *mut c_void, a1: *const WChar, a2: *mut f64, a3: *mut f64, ) -> bool

Native declaration: bool GeoKernelViewer_ReadWktPoint(void* viewer, const wchar_t* wkt, double* x, double* y).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_ReadWktPolygonJson( &self, a0: *mut c_void, a1: *const WChar, a2: bool, a3: *mut WChar, a4: i32, ) -> i32

Native declaration: int GeoKernelViewer_ReadWktPolygonJson(void* viewer, const wchar_t* wkt, bool multiPolygon, wchar_t* buffer, int bufferLength).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_RedoEditLayer( &self, a0: *mut c_void, a1: i32, ) -> bool

Native declaration: bool GeoKernelViewer_RedoEditLayer(void* viewer, int index).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_RefreshLayers(&self, a0: *mut c_void)

Native declaration: void GeoKernelViewer_RefreshLayers(void* viewer).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_RelatePolygonRings( &self, a0: *mut c_void, a1: *const f64, a2: i32, a3: *const f64, a4: i32, a5: *mut WChar, a6: i32, ) -> i32

Native declaration: int GeoKernelViewer_RelatePolygonRings( void* viewer, const double* leftXyPairs, int leftPointCount, const double* rightXyPairs, int rightPointCount, wchar_t* buffer, int bufferLength).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_RelatePolygonRingsPattern( &self, a0: *mut c_void, a1: *const f64, a2: i32, a3: *const f64, a4: i32, a5: *const WChar, ) -> bool

Native declaration: bool GeoKernelViewer_RelatePolygonRingsPattern( void* viewer, const double* leftXyPairs, int leftPointCount, const double* rightXyPairs, int rightPointCount, const wchar_t* pattern).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_RelatePolylines( &self, a0: *mut c_void, a1: *const f64, a2: i32, a3: *const f64, a4: i32, a5: *mut WChar, a6: i32, ) -> i32

Native declaration: int GeoKernelViewer_RelatePolylines( void* viewer, const double* leftXyPairs, int leftPointCount, const double* rightXyPairs, int rightPointCount, wchar_t* buffer, int bufferLength).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_RelatePolylinesPattern( &self, a0: *mut c_void, a1: *const f64, a2: i32, a3: *const f64, a4: i32, a5: *const WChar, ) -> bool

Native declaration: bool GeoKernelViewer_RelatePolylinesPattern( void* viewer, const double* leftXyPairs, int leftPointCount, const double* rightXyPairs, int rightPointCount, const wchar_t* pattern).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_RemoveExternalLayer( &self, a0: *mut c_void, a1: *mut c_void, ) -> bool

Native declaration: bool GeoKernelViewer_RemoveExternalLayer(void* viewer, void* layer).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_RemoveLayer( &self, a0: *mut c_void, a1: i32, ) -> bool

Native declaration: bool GeoKernelViewer_RemoveLayer(void* viewer, int index).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_RemoveLayerByName( &self, a0: *mut c_void, a1: *const WChar, ) -> bool

Native declaration: bool GeoKernelViewer_RemoveLayerByName(void* viewer, const wchar_t* name).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_RemoveOverlayShape( &self, a0: *mut c_void, a1: *const WChar, ) -> bool

Native declaration: bool GeoKernelViewer_RemoveOverlayShape(void* viewer, const wchar_t* id).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_Resize(&self, a0: *mut c_void, a1: i32, a2: i32)

Native declaration: void GeoKernelViewer_Resize(void* viewer, int width, int height).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_RollbackEditLayer( &self, a0: *mut c_void, a1: i32, ) -> bool

Native declaration: bool GeoKernelViewer_RollbackEditLayer(void* viewer, int index).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_SaveLayerAsShapefile( &self, a0: *mut c_void, a1: i32, a2: *const WChar, ) -> bool

Native declaration: bool GeoKernelViewer_SaveLayerAsShapefile(void* viewer, int index, const wchar_t* path).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_SaveProject( &self, a0: *mut c_void, a1: *const WChar, ) -> bool

Native declaration: bool GeoKernelViewer_SaveProject(void* viewer, const wchar_t* path).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_ScreenToWorld( &self, a0: *mut c_void, a1: f64, a2: f64, a3: *mut f64, a4: *mut f64, ) -> bool

Native declaration: bool GeoKernelViewer_ScreenToWorld(void* viewer, double screenX, double screenY, double* worldX, double* worldY).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_SelectFeatureHit( &self, a0: *mut c_void, a1: f64, a2: f64, a3: f64, a4: i32, a5: i32, a6: i32, ) -> bool

Native declaration: bool GeoKernelViewer_SelectFeatureHit( void* viewer, double worldX, double worldY, double worldTolerance, int layerIndex, int shapeId, int featureId).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_SelectFeaturesInScreenRect( &self, a0: *mut c_void, a1: i32, a2: i32, a3: i32, a4: i32, a5: i32, ) -> i32

Native declaration: int GeoKernelViewer_SelectFeaturesInScreenRect(void* viewer, int x, int y, int width, int height, int selectionMode).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_SelectTopFeatureAt( &self, a0: *mut c_void, a1: f64, a2: f64, a3: i32, ) -> bool

Native declaration: bool GeoKernelViewer_SelectTopFeatureAt(void* viewer, double screenX, double screenY, int pixelTolerance).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_SetActivationTypeName( &self, a0: *mut c_void, a1: *const WChar, )

Native declaration: void GeoKernelViewer_SetActivationTypeName(void* viewer, const wchar_t* activationType).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_SetActiveEditLayerIndex( &self, a0: *mut c_void, a1: i32, ) -> bool

Native declaration: bool GeoKernelViewer_SetActiveEditLayerIndex(void* viewer, int index).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_SetCoordinateSystemPreset( &self, a0: *mut c_void, a1: *const WChar, ) -> bool

Native declaration: bool GeoKernelViewer_SetCoordinateSystemPreset(void* viewer, const wchar_t* preset).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_SetEditSnappingEnabled( &self, a0: *mut c_void, a1: bool, )

Native declaration: void GeoKernelViewer_SetEditSnappingEnabled(void* viewer, bool enabled).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_SetEditSnappingTolerancePixels( &self, a0: *mut c_void, a1: f64, )

Native declaration: void GeoKernelViewer_SetEditSnappingTolerancePixels(void* viewer, double tolerance).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_SetEventCallback( &self, a0: *mut c_void, a1: GeoKernelViewerEventCallback, a2: *mut c_void, )

Native declaration: void GeoKernelViewer_SetEventCallback(void* viewer, GeoKernelViewerEventCallback callback, void* context).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_SetExtraInfoText( &self, a0: *mut c_void, a1: *const WChar, )

Native declaration: void GeoKernelViewer_SetExtraInfoText(void* viewer, const wchar_t* value).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_SetFeatureAttributesInEditLayerJson( &self, a0: *mut c_void, a1: i32, a2: i32, a3: i32, a4: *const WChar, ) -> bool

Native declaration: bool GeoKernelViewer_SetFeatureAttributesInEditLayerJson(void* viewer, int index, int shapeId, int featureId, const wchar_t* attributesJson).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_SetLayerCoordinateSystemPreset( &self, a0: *mut c_void, a1: i32, a2: *const WChar, ) -> bool

Native declaration: bool GeoKernelViewer_SetLayerCoordinateSystemPreset(void* viewer, int index, const wchar_t* preset).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_SetLayerName( &self, a0: *mut c_void, a1: i32, a2: *const WChar, ) -> bool

Native declaration: bool GeoKernelViewer_SetLayerName(void* viewer, int index, const wchar_t* name).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_SetLayerOpacity( &self, a0: *mut c_void, a1: i32, a2: f64, ) -> bool

Native declaration: bool GeoKernelViewer_SetLayerOpacity(void* viewer, int index, double opacity).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_SetLayerStyleJson( &self, a0: *mut c_void, a1: i32, a2: *const WChar, ) -> bool

Native declaration: bool GeoKernelViewer_SetLayerStyleJson(void* viewer, int index, const wchar_t* json).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_SetLayerSymbolRendererJson( &self, a0: *mut c_void, a1: i32, a2: *const WChar, ) -> bool

Native declaration: bool GeoKernelViewer_SetLayerSymbolRendererJson(void* viewer, int index, const wchar_t* json).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_SetLayerVisible( &self, a0: *mut c_void, a1: i32, a2: bool, ) -> bool

Native declaration: bool GeoKernelViewer_SetLayerVisible(void* viewer, int index, bool visible).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_SetLayerVisibleScaleRange( &self, a0: *mut c_void, a1: i32, a2: f64, a3: f64, ) -> bool

Native declaration: bool GeoKernelViewer_SetLayerVisibleScaleRange(void* viewer, int index, double minVisibleScale, double maxVisibleScale).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_SetLicenseKey( &self, a0: *mut c_void, a1: *const WChar, )

Native declaration: void GeoKernelViewer_SetLicenseKey(void* viewer, const wchar_t* licenseKey).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_SetLicenseManagerUrl( &self, a0: *mut c_void, a1: *const WChar, )

Native declaration: void GeoKernelViewer_SetLicenseManagerUrl(void* viewer, const wchar_t* licenseManagerUrl).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_SetLoggingModeName( &self, a0: *mut c_void, a1: *const WChar, )

Native declaration: void GeoKernelViewer_SetLoggingModeName(void* viewer, const wchar_t* value).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_SetMapBackgroundColor( &self, a0: *mut c_void, a1: i32, )

Native declaration: void GeoKernelViewer_SetMapBackgroundColor(void* viewer, int argb).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_SetMapStyleName( &self, a0: *mut c_void, a1: *const WChar, a2: bool, ) -> bool

Native declaration: bool GeoKernelViewer_SetMapStyleName(void* viewer, const wchar_t* themeName, bool applyToExistingLayers).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_SetMeasureColors( &self, a0: *mut c_void, a1: i32, a2: i32, a3: i32, a4: i32, )

Native declaration: void GeoKernelViewer_SetMeasureColors(void* viewer, int lineArgb, int fillArgb, int textArgb, int labelBackgroundArgb).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_SetMeasureMode(&self, a0: *mut c_void, a1: i32)

Native declaration: void GeoKernelViewer_SetMeasureMode(void* viewer, int mode).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_SetMeasureToolActive( &self, a0: *mut c_void, a1: bool, )

Native declaration: void GeoKernelViewer_SetMeasureToolActive(void* viewer, bool active).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_SetMiniMapAnchor(&self, a0: *mut c_void, a1: i32)

Native declaration: void GeoKernelViewer_SetMiniMapAnchor(void* viewer, int anchor).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_SetMiniMapBackgroundColor( &self, a0: *mut c_void, a1: i32, )

Native declaration: void GeoKernelViewer_SetMiniMapBackgroundColor(void* viewer, int backgroundArgb).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_SetMiniMapVisible( &self, a0: *mut c_void, a1: bool, )

Native declaration: void GeoKernelViewer_SetMiniMapVisible(void* viewer, bool visible).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_SetNewFeatureAttributesJson( &self, a0: *mut c_void, a1: *const WChar, )

Native declaration: void GeoKernelViewer_SetNewFeatureAttributesJson(void* viewer, const wchar_t* attributesJson).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_SetOverlayPoint( &self, a0: *mut c_void, a1: *const WChar, a2: f64, a3: f64, a4: *const WChar, ) -> bool

Native declaration: bool GeoKernelViewer_SetOverlayPoint(void* viewer, const wchar_t* id, double x, double y, const wchar_t* styleJson).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_SetRenderBackendPreference( &self, a0: *mut c_void, a1: i32, )

Native declaration: void GeoKernelViewer_SetRenderBackendPreference(void* viewer, int value).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_SetRenderBackendPreferenceName( &self, a0: *mut c_void, a1: *const WChar, )

Native declaration: void GeoKernelViewer_SetRenderBackendPreferenceName(void* viewer, const wchar_t* value).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_SetRenderDebugFile( &self, a0: *mut c_void, a1: bool, )

Native declaration: void GeoKernelViewer_SetRenderDebugFile(void* viewer, bool enabled).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_SetRenderDebugWindow( &self, a0: *mut c_void, a1: bool, )

Native declaration: void GeoKernelViewer_SetRenderDebugWindow(void* viewer, bool enabled).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_SetRenderMetricsLogPath( &self, a0: *mut c_void, a1: *const WChar, )

Native declaration: void GeoKernelViewer_SetRenderMetricsLogPath(void* viewer, const wchar_t* path).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_SetRenderMetricsVisible( &self, a0: *mut c_void, a1: bool, )

Native declaration: void GeoKernelViewer_SetRenderMetricsVisible(void* viewer, bool visible).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_SetRenderStepLog(&self, a0: *mut c_void, a1: bool)

Native declaration: void GeoKernelViewer_SetRenderStepLog(void* viewer, bool enabled).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_SetRenderStepLogPath( &self, a0: *mut c_void, a1: *const WChar, )

Native declaration: void GeoKernelViewer_SetRenderStepLogPath(void* viewer, const wchar_t* path).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_SetScaleBarAnchor(&self, a0: *mut c_void, a1: i32)

Native declaration: void GeoKernelViewer_SetScaleBarAnchor(void* viewer, int anchor).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_SetScaleBarColors( &self, a0: *mut c_void, a1: i32, a2: i32, a3: i32, )

Native declaration: void GeoKernelViewer_SetScaleBarColors(void* viewer, int backgroundArgb, int lineArgb, int textArgb).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_SetScaleBarVisible( &self, a0: *mut c_void, a1: bool, )

Native declaration: void GeoKernelViewer_SetScaleBarVisible(void* viewer, bool visible).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_SetShapeAttributesInEditLayerJson( &self, a0: *mut c_void, a1: i32, a2: i32, a3: *const WChar, ) -> bool

Native declaration: bool GeoKernelViewer_SetShapeAttributesInEditLayerJson(void* viewer, int index, int shapeId, const wchar_t* attributesJson).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_SetShowExtraInfo(&self, a0: *mut c_void, a1: bool)

Native declaration: void GeoKernelViewer_SetShowExtraInfo(void* viewer, bool enabled).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_SetShowFPS(&self, a0: *mut c_void, a1: bool)

Native declaration: void GeoKernelViewer_SetShowFPS(void* viewer, bool enabled).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_SetSpatialIndexType( &self, a0: *mut c_void, a1: i32, )

Native declaration: void GeoKernelViewer_SetSpatialIndexType(void* viewer, int value).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_SetTool(&self, a0: *mut c_void, a1: i32)

Native declaration: void GeoKernelViewer_SetTool(void* viewer, int tool).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_SetUseHardwareAcceleration( &self, a0: *mut c_void, a1: bool, )

Native declaration: void GeoKernelViewer_SetUseHardwareAcceleration(void* viewer, bool enabled).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_SetVerboseMode(&self, a0: *mut c_void, a1: bool)

Native declaration: void GeoKernelViewer_SetVerboseMode(void* viewer, bool enabled).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_SetViewExtent( &self, a0: *mut c_void, a1: GeoKernelViewerExtent, )

Native declaration: void GeoKernelViewer_SetViewExtent(void* viewer, GeoKernelViewerExtent extent).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_Show(&self, a0: *mut c_void)

Native declaration: void GeoKernelViewer_Show(void* viewer).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_ShutdownApplication(&self) -> bool

Native declaration: bool GeoKernelViewer_ShutdownApplication().

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_SimplifyPolygonRingJson( &self, a0: *mut c_void, a1: *const f64, a2: i32, a3: f64, a4: *mut WChar, a5: i32, ) -> i32

Native declaration: int GeoKernelViewer_SimplifyPolygonRingJson( void* viewer, const double* xyPairs, int pointCount, double tolerance, wchar_t* buffer, int bufferLength).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_SplitPolygonByArcJson( &self, a0: *mut c_void, a1: *const f64, a2: i32, a3: *const f64, a4: i32, a5: *mut WChar, a6: i32, ) -> i32

Native declaration: int GeoKernelViewer_SplitPolygonByArcJson( void* viewer, const double* polygonXyPairs, int polygonPointCount, const double* arcXyPairs, int arcPointCount, wchar_t* buffer, int bufferLength).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_StartMeasureArea(&self, a0: *mut c_void)

Native declaration: void GeoKernelViewer_StartMeasureArea(void* viewer).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_StartMeasureDistance(&self, a0: *mut c_void)

Native declaration: void GeoKernelViewer_StartMeasureDistance(void* viewer).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_SymmetricalDifferencePolygonsJson( &self, a0: *mut c_void, a1: *const f64, a2: i32, a3: *const f64, a4: i32, a5: *mut WChar, a6: i32, ) -> i32

Native declaration: int GeoKernelViewer_SymmetricalDifferencePolygonsJson( void* viewer, const double* leftXyPairs, int leftPointCount, const double* rightXyPairs, int rightPointCount, wchar_t* buffer, int bufferLength).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_ToggleTopFeatureSelectionAt( &self, a0: *mut c_void, a1: f64, a2: f64, a3: i32, ) -> bool

Native declaration: bool GeoKernelViewer_ToggleTopFeatureSelectionAt(void* viewer, double screenX, double screenY, int pixelTolerance).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_TransformPoint( &self, a0: i32, a1: i32, a2: f64, a3: f64, a4: *mut f64, a5: *mut f64, ) -> bool

Native declaration: bool GeoKernelViewer_TransformPoint(int sourceEpsg, int targetEpsg, double x, double y, double* transformedX, double* transformedY).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_UndoEditLayer( &self, a0: *mut c_void, a1: i32, ) -> bool

Native declaration: bool GeoKernelViewer_UndoEditLayer(void* viewer, int index).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_UnionPolygonsJson( &self, a0: *mut c_void, a1: *const f64, a2: i32, a3: *const f64, a4: i32, a5: *mut WChar, a6: i32, ) -> i32

Native declaration: int GeoKernelViewer_UnionPolygonsJson( void* viewer, const double* leftXyPairs, int leftPointCount, const double* rightXyPairs, int rightPointCount, wchar_t* buffer, int bufferLength).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_UnionPolygonsOnListJson( &self, a0: *mut c_void, a1: *const f64, a2: *const i32, a3: i32, a4: *mut WChar, a5: i32, ) -> i32

Native declaration: int GeoKernelViewer_UnionPolygonsOnListJson( void* viewer, const double* xyPairs, const int* polygonPointCounts, int polygonCount, wchar_t* buffer, int bufferLength).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_WorldToScreen( &self, a0: *mut c_void, a1: f64, a2: f64, a3: *mut f64, a4: *mut f64, ) -> bool

Native declaration: bool GeoKernelViewer_WorldToScreen(void* viewer, double worldX, double worldY, double* screenX, double* screenY).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_WriteGeoJsonLineString( &self, a0: *mut c_void, a1: *const f64, a2: i32, a3: *mut WChar, a4: i32, ) -> i32

Native declaration: int GeoKernelViewer_WriteGeoJsonLineString(void* viewer, const double* xyPairs, int pointCount, wchar_t* buffer, int bufferLength).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_WriteGeoJsonPoint( &self, a0: *mut c_void, a1: f64, a2: f64, a3: *mut WChar, a4: i32, ) -> i32

Native declaration: int GeoKernelViewer_WriteGeoJsonPoint(void* viewer, double x, double y, wchar_t* buffer, int bufferLength).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_WriteGeoJsonPolygon( &self, a0: *mut c_void, a1: *const f64, a2: *const i32, a3: i32, a4: *mut WChar, a5: i32, ) -> i32

Native declaration: int GeoKernelViewer_WriteGeoJsonPolygon(void* viewer, const double* xyPairs, const int* partPointCounts, int partCount, wchar_t* buffer, int bufferLength).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_WriteLayerLastShapeGeoJson( &self, a0: *mut c_void, a1: i32, a2: *mut WChar, a3: i32, ) -> i32

Native declaration: int GeoKernelViewer_WriteLayerLastShapeGeoJson(void* viewer, int index, wchar_t* buffer, int bufferLength).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_WriteLayerLastShapeWkb( &self, a0: *mut c_void, a1: i32, a2: *mut u8, a3: i32, ) -> i32

Native declaration: int GeoKernelViewer_WriteLayerLastShapeWkb(void* viewer, int index, unsigned char* buffer, int bufferLength).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_WriteLayerLastShapeWkt( &self, a0: *mut c_void, a1: i32, a2: *mut WChar, a3: i32, ) -> i32

Native declaration: int GeoKernelViewer_WriteLayerLastShapeWkt(void* viewer, int index, wchar_t* buffer, int bufferLength).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_WriteWkbLineString( &self, a0: *mut c_void, a1: *const f64, a2: i32, a3: *mut u8, a4: i32, ) -> i32

Native declaration: int GeoKernelViewer_WriteWkbLineString(void* viewer, const double* xyPairs, int pointCount, unsigned char* buffer, int bufferLength).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_WriteWkbPoint( &self, a0: *mut c_void, a1: f64, a2: f64, a3: *mut u8, a4: i32, ) -> i32

Native declaration: int GeoKernelViewer_WriteWkbPoint(void* viewer, double x, double y, unsigned char* buffer, int bufferLength).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_WriteWkbPolygon( &self, a0: *mut c_void, a1: *const f64, a2: *const i32, a3: i32, a4: *mut u8, a5: i32, ) -> i32

Native declaration: int GeoKernelViewer_WriteWkbPolygon(void* viewer, const double* xyPairs, const int* partPointCounts, int partCount, unsigned char* buffer, int bufferLength).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_WriteWktLineString( &self, a0: *mut c_void, a1: *const f64, a2: i32, a3: *mut WChar, a4: i32, ) -> i32

Native declaration: int GeoKernelViewer_WriteWktLineString(void* viewer, const double* xyPairs, int pointCount, wchar_t* buffer, int bufferLength).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_WriteWktPoint( &self, a0: *mut c_void, a1: f64, a2: f64, a3: *mut WChar, a4: i32, ) -> i32

Native declaration: int GeoKernelViewer_WriteWktPoint(void* viewer, double x, double y, wchar_t* buffer, int bufferLength).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_WriteWktPolygon( &self, a0: *mut c_void, a1: *const f64, a2: *const i32, a3: i32, a4: *mut WChar, a5: i32, ) -> i32

Native declaration: int GeoKernelViewer_WriteWktPolygon(void* viewer, const double* xyPairs, const int* partPointCounts, int partCount, wchar_t* buffer, int bufferLength).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_ZoomAtPoint( &self, a0: *mut c_void, a1: i32, a2: i32, a3: f64, )

Native declaration: void GeoKernelViewer_ZoomAtPoint(void* viewer, int screenX, int screenY, double factor).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_ZoomIn(&self, a0: *mut c_void, a1: f64)

Native declaration: void GeoKernelViewer_ZoomIn(void* viewer, double factor).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_ZoomOut(&self, a0: *mut c_void, a1: f64)

Native declaration: void GeoKernelViewer_ZoomOut(void* viewer, double factor).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_ZoomToLayer( &self, a0: *mut c_void, a1: i32, ) -> bool

Native declaration: bool GeoKernelViewer_ZoomToLayer(void* viewer, int index).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_ZoomToScreenRect( &self, a0: *mut c_void, a1: i32, a2: i32, a3: i32, a4: i32, )

Native declaration: void GeoKernelViewer_ZoomToScreenRect(void* viewer, int left, int top, int right, int bottom).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelViewer_ZoomToSelectedFeatures( &self, a0: *mut c_void, ) -> bool

Native declaration: bool GeoKernelViewer_ZoomToSelectedFeatures(void* viewer).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelWindow_AddCancellableLayerLoadToolbar( &self, a0: *mut c_void, a1: *mut c_void, a2: *const WChar, ) -> bool

Native declaration: bool GeoKernelWindow_AddCancellableLayerLoadToolbar(void* window, void* viewer, const wchar_t* configurationJson).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelWindow_AddCommandToolbar( &self, a0: *mut c_void, a1: *const WChar, a2: GeoKernelWindowCommandCallback, a3: *mut c_void, ) -> bool

Native declaration: bool GeoKernelWindow_AddCommandToolbar(void* window, const wchar_t* configurationJson, GeoKernelWindowCommandCallback callback, void* context).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelWindow_AddControlPanel( &self, a0: *mut c_void, a1: *const WChar, a2: GeoKernelWindowControlCallback, a3: *mut c_void, ) -> bool

Native declaration: bool GeoKernelWindow_AddControlPanel(void* window, const wchar_t* configurationJson, GeoKernelWindowControlCallback callback, void* context).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelWindow_AddLayerManagementToolbar( &self, a0: *mut c_void, a1: *mut c_void, a2: *const WChar, ) -> bool

Native declaration: bool GeoKernelWindow_AddLayerManagementToolbar(void* window, void* viewer, const wchar_t* configurationJson).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelWindow_AddLayerPanel( &self, a0: *mut c_void, a1: *mut c_void, a2: i32, ) -> bool

Native declaration: bool GeoKernelWindow_AddLayerPanel(void* window, void* viewer, int features).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelWindow_AddLayerSelector( &self, a0: *mut c_void, a1: *mut c_void, a2: i32, ) -> bool

Native declaration: bool GeoKernelWindow_AddLayerSelector(void* window, void* viewer, int action).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelWindow_AddLayerStyleToolbar( &self, a0: *mut c_void, a1: *mut c_void, a2: *const WChar, ) -> bool

Native declaration: bool GeoKernelWindow_AddLayerStyleToolbar(void* window, void* viewer, const wchar_t* configurationJson).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelWindow_AddLegendPanel( &self, a0: *mut c_void, a1: *const WChar, ) -> bool

Native declaration: bool GeoKernelWindow_AddLegendPanel(void* window, const wchar_t* title).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelWindow_AddLogPanel( &self, a0: *mut c_void, a1: *const WChar, ) -> bool

Native declaration: bool GeoKernelWindow_AddLogPanel(void* window, const wchar_t* title).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelWindow_AddMeasureToolbar( &self, a0: *mut c_void, a1: *mut c_void, )

Native declaration: void GeoKernelWindow_AddMeasureToolbar(void* window, void* viewer).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelWindow_AddNavigationToolbar( &self, a0: *mut c_void, a1: *mut c_void, )

Native declaration: void GeoKernelWindow_AddNavigationToolbar(void* window, void* viewer).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelWindow_AddSpatialIndexBenchmarkToolbar( &self, a0: *mut c_void, a1: *mut c_void, a2: *const WChar, ) -> bool

Native declaration: bool GeoKernelWindow_AddSpatialIndexBenchmarkToolbar(void* window, void* viewer, const wchar_t* configurationJson).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelWindow_AddViewerPane( &self, a0: *mut c_void, a1: *const WChar, ) -> *mut c_void

Native declaration: void* GeoKernelWindow_AddViewerPane(void* window, const wchar_t* title).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelWindow_AppendLog( &self, a0: *mut c_void, a1: *const WChar, )

Native declaration: void GeoKernelWindow_AppendLog(void* window, const wchar_t* text).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelWindow_ClearLog(&self, a0: *mut c_void)

Native declaration: void GeoKernelWindow_ClearLog(void* window).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelWindow_Create( &self, a0: i32, a1: i32, a2: *const WChar, ) -> *mut c_void

Native declaration: void* GeoKernelWindow_Create(int width, int height, const wchar_t* title).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelWindow_Destroy(&self, a0: *mut c_void)

Native declaration: void GeoKernelWindow_Destroy(void* window).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelWindow_GetSelectedLayerIndex( &self, a0: *mut c_void, ) -> i32

Native declaration: int GeoKernelWindow_GetSelectedLayerIndex(void* window).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelWindow_IsVisible(&self, a0: *mut c_void) -> bool

Native declaration: bool GeoKernelWindow_IsVisible(void* window).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelWindow_SetAttributionText( &self, a0: *mut c_void, a1: *const WChar, )

Native declaration: void GeoKernelWindow_SetAttributionText(void* window, const wchar_t* text).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelWindow_SetCentralText( &self, a0: *mut c_void, a1: *const WChar, ) -> bool

Native declaration: bool GeoKernelWindow_SetCentralText(void* window, const wchar_t* text).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelWindow_SetCentralTextPanel( &self, a0: *mut c_void, a1: *const WChar, ) -> bool

Native declaration: bool GeoKernelWindow_SetCentralTextPanel(void* window, const wchar_t* text).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelWindow_SetCentralViewer( &self, a0: *mut c_void, ) -> *mut c_void

Native declaration: void* GeoKernelWindow_SetCentralViewer(void* window).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelWindow_SetCommandEnabled( &self, a0: *mut c_void, a1: i32, a2: bool, ) -> bool

Native declaration: bool GeoKernelWindow_SetCommandEnabled(void* window, int commandId, bool enabled).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelWindow_SetControlEnabled( &self, a0: *mut c_void, a1: i32, a2: bool, ) -> bool

Native declaration: bool GeoKernelWindow_SetControlEnabled(void* window, int controlId, bool enabled).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelWindow_SetControlOptionsJson( &self, a0: *mut c_void, a1: i32, a2: *const WChar, ) -> bool

Native declaration: bool GeoKernelWindow_SetControlOptionsJson(void* window, int controlId, const wchar_t* optionsJson).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelWindow_SetControlValue( &self, a0: *mut c_void, a1: i32, a2: f64, a3: *const WChar, ) -> bool

Native declaration: bool GeoKernelWindow_SetControlValue(void* window, int controlId, double numericValue, const wchar_t* textValue).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelWindow_SetLegendItemsJson( &self, a0: *mut c_void, a1: *const WChar, ) -> bool

Native declaration: bool GeoKernelWindow_SetLegendItemsJson(void* window, const wchar_t* itemsJson).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelWindow_SetLegendTitle( &self, a0: *mut c_void, a1: *const WChar, ) -> bool

Native declaration: bool GeoKernelWindow_SetLegendTitle(void* window, const wchar_t* title).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelWindow_SetLegendWidth( &self, a0: *mut c_void, a1: i32, ) -> bool

Native declaration: bool GeoKernelWindow_SetLegendWidth(void* window, int width).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelWindow_SetStatusText( &self, a0: *mut c_void, a1: *const WChar, )

Native declaration: void GeoKernelWindow_SetStatusText(void* window, const wchar_t* text).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelWindow_Show(&self, a0: *mut c_void)

Native declaration: void GeoKernelWindow_Show(void* window).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Auto Trait Implementations§

Blanket Implementations§

Source§

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

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

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

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

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

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

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

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.