pub enum SamplingMode {
TriangleCentroids,
Vertices,
CentroidsAndVertices,
}Expand description
Selects which geometric samples are used during fitting.
Variants§
TriangleCentroids
Sample one point at each triangle centroid.
Vertices
Sample mesh vertices.
CentroidsAndVertices
Sample both triangle centroids and mesh vertices.
Trait Implementations§
Source§impl Clone for SamplingMode
impl Clone for SamplingMode
Source§fn clone(&self) -> SamplingMode
fn clone(&self) -> SamplingMode
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 SamplingMode
Source§impl Debug for SamplingMode
impl Debug for SamplingMode
Source§impl<'de> Deserialize<'de> for SamplingMode
impl<'de> Deserialize<'de> for SamplingMode
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for SamplingMode
Source§impl PartialEq for SamplingMode
impl PartialEq for SamplingMode
Source§impl Serialize for SamplingMode
impl Serialize for SamplingMode
impl StructuralPartialEq for SamplingMode
Auto Trait Implementations§
impl Freeze for SamplingMode
impl RefUnwindSafe for SamplingMode
impl Send for SamplingMode
impl Sync for SamplingMode
impl Unpin for SamplingMode
impl UnsafeUnpin for SamplingMode
impl UnwindSafe for SamplingMode
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