pub enum Branch {
Minus,
Plus,
}Expand description
Which of the two solutions: Minus has the smaller parameter.
Variants§
Minus
t = (-B - sqrt(disc)) / A: the first hit along the line.
Plus
t = (-B + sqrt(disc)) / A: the second hit along the line.
Trait Implementations§
impl Copy for Branch
impl Eq for Branch
impl StructuralPartialEq for Branch
Auto Trait Implementations§
impl Freeze for Branch
impl RefUnwindSafe for Branch
impl Send for Branch
impl Sync for Branch
impl Unpin for Branch
impl UnwindSafe for Branch
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