Struct geo::algorithm::kernels::simple::SimpleKernel [−][src]
pub struct SimpleKernel;
Simple kernel provides the direct implementation of the predicates. These are meant to be used with exact arithmetic signed tpyes (eg. i32, i64).
Trait Implementations
impl Debug for SimpleKernel
[src]
impl Default for SimpleKernel
[src]
fn default() -> SimpleKernel
[src]
impl<T: CoordNum> Kernel<T> for SimpleKernel
[src]
fn orient2d(p: Coordinate<T>, q: Coordinate<T>, r: Coordinate<T>) -> Orientation
[src]
fn square_euclidean_distance(p: Coordinate<T>, q: Coordinate<T>) -> T
[src]
fn dot_product_sign(u: Coordinate<T>, v: Coordinate<T>) -> Orientation
[src]
Auto Trait Implementations
impl RefUnwindSafe for SimpleKernel
impl Send for SimpleKernel
impl Sync for SimpleKernel
impl Unpin for SimpleKernel
impl UnwindSafe for SimpleKernel
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,