pub enum BarycentricWeightScale {
Low,
}
Expand description
Barycentric interpolation weights size.
Bigger weights increases precision.
Variants§
Low
Low scale weights is enough for common case.
However, it might crush dark zones and gradients. Weights increasing costs 5% performance.
Trait Implementations§
Source§impl Clone for BarycentricWeightScale
impl Clone for BarycentricWeightScale
Source§fn clone(&self) -> BarycentricWeightScale
fn clone(&self) -> BarycentricWeightScale
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for BarycentricWeightScale
impl Debug for BarycentricWeightScale
Source§impl Default for BarycentricWeightScale
impl Default for BarycentricWeightScale
Source§fn default() -> BarycentricWeightScale
fn default() -> BarycentricWeightScale
Returns the “default value” for a type. Read more
Source§impl Hash for BarycentricWeightScale
impl Hash for BarycentricWeightScale
Source§impl Ord for BarycentricWeightScale
impl Ord for BarycentricWeightScale
Source§fn cmp(&self, other: &BarycentricWeightScale) -> Ordering
fn cmp(&self, other: &BarycentricWeightScale) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for BarycentricWeightScale
impl PartialEq for BarycentricWeightScale
Source§impl PartialOrd for BarycentricWeightScale
impl PartialOrd for BarycentricWeightScale
impl Copy for BarycentricWeightScale
impl Eq for BarycentricWeightScale
impl StructuralPartialEq for BarycentricWeightScale
Auto Trait Implementations§
impl Freeze for BarycentricWeightScale
impl RefUnwindSafe for BarycentricWeightScale
impl Send for BarycentricWeightScale
impl Sync for BarycentricWeightScale
impl Unpin for BarycentricWeightScale
impl UnwindSafe for BarycentricWeightScale
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