pub struct UndoStackConfig {
pub max_entries: usize,
pub max_memory: usize,
pub enable_compression: bool,
pub arena_reset_interval: usize,
}Expand description
Configuration for undo stack behavior
Fields§
§max_entries: usizeMaximum number of undo entries to keep
max_memory: usizeMaximum memory usage in bytes (0 = unlimited)
enable_compression: boolWhether to enable compression of old entries
arena_reset_interval: usizeInterval for arena resets (0 = never reset)
Trait Implementations§
Source§impl Clone for UndoStackConfig
impl Clone for UndoStackConfig
Source§fn clone(&self) -> UndoStackConfig
fn clone(&self) -> UndoStackConfig
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 UndoStackConfig
impl Debug for UndoStackConfig
Auto Trait Implementations§
impl Freeze for UndoStackConfig
impl RefUnwindSafe for UndoStackConfig
impl Send for UndoStackConfig
impl Sync for UndoStackConfig
impl Unpin for UndoStackConfig
impl UnwindSafe for UndoStackConfig
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