pub struct Insertion {
pub smart: bool,
}Fields§
§smart: bool“Smart” in the sense that, when true, Insertion will use binary search
instead of a naive traversal to determine the current swap index i
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Insertion
impl RefUnwindSafe for Insertion
impl Send for Insertion
impl Sync for Insertion
impl Unpin for Insertion
impl UnwindSafe for Insertion
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