pub enum Convex {
Upwards,
Downwards,
}
Expand description
ternary_search
で与えられる関数が上に凸か下に凸かを指定する。
Variants§
Trait Implementations§
impl Copy for Convex
impl StructuralPartialEq for Convex
Auto Trait Implementations§
impl Freeze for Convex
impl RefUnwindSafe for Convex
impl Send for Convex
impl Sync for Convex
impl Unpin for Convex
impl UnwindSafe for Convex
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