pub struct PureRustKernel { /* private fields */ }Implementations§
Source§impl PureRustKernel
impl PureRustKernel
pub const fn new(precision: PrecisionModel) -> Self
Trait Implementations§
Source§impl Clone for PureRustKernel
impl Clone for PureRustKernel
Source§fn clone(&self) -> PureRustKernel
fn clone(&self) -> PureRustKernel
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PureRustKernel
Source§impl Debug for PureRustKernel
impl Debug for PureRustKernel
Source§impl Default for PureRustKernel
impl Default for PureRustKernel
Source§impl GeometryKernel for PureRustKernel
impl GeometryKernel for PureRustKernel
fn backend(&self) -> KernelBackend
fn precision(&self) -> PrecisionModel
fn canonicalize_polygon(&self, polygon: &Polygon) -> Polygon
fn polygon_area(&self, polygon: &Polygon) -> Result<f64>
fn largest_polygon( &self, multi_polygon: &MultiPolygon, ) -> Result<Option<Polygon>>
fn buffer_polygon( &self, polygon: &Polygon, distance: f64, options: BufferOptions, ) -> Result<MultiPolygon>
fn line_buffer( &self, line: &LineString, distance: f64, options: BufferOptions, ) -> Result<MultiPolygon>
fn intersection( &self, subject: &MultiPolygon, clip: &MultiPolygon, ) -> Result<MultiPolygon>
fn difference( &self, subject: &MultiPolygon, clip: &MultiPolygon, ) -> Result<MultiPolygon>
fn line_polygon_intersections( &self, line: &LineString, polygon: &Polygon, ) -> Result<Vec<Coord>>
Source§impl PartialEq for PureRustKernel
impl PartialEq for PureRustKernel
Source§fn eq(&self, other: &PureRustKernel) -> bool
fn eq(&self, other: &PureRustKernel) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PureRustKernel
Auto Trait Implementations§
impl Freeze for PureRustKernel
impl RefUnwindSafe for PureRustKernel
impl Send for PureRustKernel
impl Sync for PureRustKernel
impl Unpin for PureRustKernel
impl UnsafeUnpin for PureRustKernel
impl UnwindSafe for PureRustKernel
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more