pub struct ShellSort { /* private fields */ }
Expand description
Shell Sort algorithm implementation
Implementations§
Trait Implementations§
Source§impl Sorter for ShellSort
impl Sorter for ShellSort
Source§fn step(&mut self, budget: usize) -> StepResult
fn step(&mut self, budget: usize) -> StepResult
Execute one step of the sorting algorithm Read more
Source§fn is_complete(&self) -> bool
fn is_complete(&self) -> bool
Check if the algorithm has completed sorting
Source§fn get_telemetry(&self) -> Telemetry
fn get_telemetry(&self) -> Telemetry
Get current telemetry data
Source§fn get_memory_usage(&self) -> usize
fn get_memory_usage(&self) -> usize
Get auxiliary memory usage in bytes
Source§fn as_any_mut(&mut self) -> &mut dyn Any
fn as_any_mut(&mut self) -> &mut dyn Any
Support mutable downcasting for type-specific operations
Auto Trait Implementations§
impl Freeze for ShellSort
impl RefUnwindSafe for ShellSort
impl Send for ShellSort
impl Sync for ShellSort
impl Unpin for ShellSort
impl UnwindSafe for ShellSort
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more