[−][src]Enum density_mesh_core::mesh::settings::PointsSeparation
Point separation source.
Variants
Constant(Scalar)Each point has constant point separation.
Each point has local point separation that depends on the steepness value.
When steepness is in range from 0 to 1, then steepness 0 maps to max and 1 maps to min.
(min, max)
Implementations
impl PointsSeparation[src]
Trait Implementations
impl Clone for PointsSeparation[src]
fn clone(&self) -> PointsSeparation[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Copy for PointsSeparation[src]
impl Debug for PointsSeparation[src]
impl<'de> Deserialize<'de> for PointsSeparation[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
__D: Deserializer<'de>,
impl From<[f32; 2]> for PointsSeparation[src]
impl From<(f32, f32)> for PointsSeparation[src]
impl From<Range<f32>> for PointsSeparation[src]
impl From<f32> for PointsSeparation[src]
impl FromStr for PointsSeparation[src]
type Err = ParseFloatError
The associated error which can be returned from parsing.
fn from_str(s: &str) -> Result<Self, Self::Err>[src]
impl PartialEq<PointsSeparation> for PointsSeparation[src]
fn eq(&self, other: &PointsSeparation) -> bool[src]
fn ne(&self, other: &PointsSeparation) -> bool[src]
impl Serialize for PointsSeparation[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer, [src]
__S: Serializer,
impl StructuralPartialEq for PointsSeparation[src]
impl ToString for PointsSeparation[src]
Auto Trait Implementations
impl RefUnwindSafe for PointsSeparation
impl Send for PointsSeparation
impl Sync for PointsSeparation
impl Unpin for PointsSeparation
impl UnwindSafe for PointsSeparation
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> DeserializeOwned for T where
T: for<'de> Deserialize<'de>, [src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T> ToString for T where
T: Display + ?Sized, [src]
T: Display + ?Sized,
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>,