struct ParameterPartition<'a, T> {
data: &'a mut [T],
pivot: usize,
}
Expand description
Partitions function parameters into a left half and a right half How to split is determined by a passed predicate.
Fields§
§data: &'a mut [T]
§pivot: usize
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a, T> RefUnwindSafe for ParameterPartition<'a, T>where T: RefUnwindSafe,
impl<'a, T> Send for ParameterPartition<'a, T>where T: Send,
impl<'a, T> Sync for ParameterPartition<'a, T>where T: Sync,
impl<'a, T> Unpin for ParameterPartition<'a, T>
impl<'a, T> !UnwindSafe for ParameterPartition<'a, T>
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