pub struct VisualConfiguration {
pub window_width: u32,
pub window_height: u32,
pub show_comparisons: bool,
pub show_names: bool,
pub show_metrics: bool,
pub animation_speed: f32,
}
Expand description
Configuration for visual appearance
Fields§
§window_width: u32
Width of visualization window
window_height: u32
Height of visualization window
show_comparisons: bool
Whether to show comparison highlights
show_names: bool
Whether to show algorithm names
show_metrics: bool
Whether to show performance metrics
animation_speed: f32
Animation speed multiplier
Trait Implementations§
Source§impl Clone for VisualConfiguration
impl Clone for VisualConfiguration
Source§fn clone(&self) -> VisualConfiguration
fn clone(&self) -> VisualConfiguration
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for VisualConfiguration
impl Debug for VisualConfiguration
Auto Trait Implementations§
impl Freeze for VisualConfiguration
impl RefUnwindSafe for VisualConfiguration
impl Send for VisualConfiguration
impl Sync for VisualConfiguration
impl Unpin for VisualConfiguration
impl UnwindSafe for VisualConfiguration
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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