#[non_exhaustive]pub enum FairingWeights {
Cotangent,
Uniform,
}Expand description
Edge weights of the discrete Laplacian.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Cotangent
Cotangent weights with barycentric vertex areas as mass: follows the geometry, needs triangles with non-zero area around the faired region.
Uniform
Unit weights, valence as mass: connectivity only, any polygon.
Trait Implementations§
Source§impl Clone for FairingWeights
impl Clone for FairingWeights
Source§fn clone(&self) -> FairingWeights
fn clone(&self) -> FairingWeights
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 FairingWeights
Source§impl Debug for FairingWeights
impl Debug for FairingWeights
Source§impl Default for FairingWeights
impl Default for FairingWeights
Source§fn default() -> FairingWeights
fn default() -> FairingWeights
Returns the “default value” for a type. Read more
impl Eq for FairingWeights
Source§impl PartialEq for FairingWeights
impl PartialEq for FairingWeights
impl StructuralPartialEq for FairingWeights
Auto Trait Implementations§
impl Freeze for FairingWeights
impl RefUnwindSafe for FairingWeights
impl Send for FairingWeights
impl Sync for FairingWeights
impl Unpin for FairingWeights
impl UnsafeUnpin for FairingWeights
impl UnwindSafe for FairingWeights
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