Enum simdnoise::CellDistanceFunction [−][src]
pub enum CellDistanceFunction {
Euclidean,
Manhattan,
Natural,
}The function to use to compute distance between cells
Variants
EuclideanThe actual straight line distance
ManhattanSum of the X and Y distances
NaturalCombines Manhattan and Euclidean
Trait Implementations
impl Copy for CellDistanceFunction[src]
impl Copy for CellDistanceFunctionimpl Clone for CellDistanceFunction[src]
impl Clone for CellDistanceFunctionfn clone(&self) -> CellDistanceFunction[src]
fn clone(&self) -> CellDistanceFunctionReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
Auto Trait Implementations
impl Send for CellDistanceFunction
impl Send for CellDistanceFunctionimpl Sync for CellDistanceFunction
impl Sync for CellDistanceFunction