Enum dumbmath::quad::InvBilerpResult
source · pub enum InvBilerpResult {
NoSolution,
OneSolution(f32),
TwoSolutions(f32, f32),
ManySolutions,
}
Expand description
Return type for Quad2f::inv_bilerp_u
Variants§
NoSolution
OneSolution(f32)
One solutions (as parametric coordinate)
TwoSolutions(f32, f32)
Two solutions (as parametric coordinates)
ManySolutions
Trait Implementations§
source§impl Clone for InvBilerpResult
impl Clone for InvBilerpResult
source§fn clone(&self) -> InvBilerpResult
fn clone(&self) -> InvBilerpResult
Returns a copy 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 InvBilerpResult
impl Debug for InvBilerpResult
source§impl PartialEq for InvBilerpResult
impl PartialEq for InvBilerpResult
source§fn eq(&self, other: &InvBilerpResult) -> bool
fn eq(&self, other: &InvBilerpResult) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for InvBilerpResult
impl StructuralPartialEq for InvBilerpResult
Auto Trait Implementations§
impl Freeze for InvBilerpResult
impl RefUnwindSafe for InvBilerpResult
impl Send for InvBilerpResult
impl Sync for InvBilerpResult
impl Unpin for InvBilerpResult
impl UnwindSafe for InvBilerpResult
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