pub enum FairWeights {
Cotangent,
Uniform,
}Expand description
The edge weights of the Laplacian used to fair a patch.
Variants§
Cotangent
Cotangent weights, clamped to stay positive.
Uniform
Uniform weights, the fallback when the cotangent system fails.
Trait Implementations§
Source§impl Clone for FairWeights
impl Clone for FairWeights
Source§fn clone(&self) -> FairWeights
fn clone(&self) -> FairWeights
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 FairWeights
Source§impl Debug for FairWeights
impl Debug for FairWeights
impl Eq for FairWeights
Source§impl PartialEq for FairWeights
impl PartialEq for FairWeights
impl StructuralPartialEq for FairWeights
Auto Trait Implementations§
impl Freeze for FairWeights
impl RefUnwindSafe for FairWeights
impl Send for FairWeights
impl Sync for FairWeights
impl Unpin for FairWeights
impl UnsafeUnpin for FairWeights
impl UnwindSafe for FairWeights
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