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