Struct undo::RecordBuilder
source · pub struct RecordBuilder<R> { /* private fields */ }
Expand description
Builder for a record.
Implementations§
source§impl<R> RecordBuilder<R>
impl<R> RecordBuilder<R>
sourcepub fn capacity(self, capacity: usize) -> RecordBuilder<R>
pub fn capacity(self, capacity: usize) -> RecordBuilder<R>
Sets the capacity for the record.
sourcepub fn limit(self, limit: usize) -> RecordBuilder<R>
pub fn limit(self, limit: usize) -> RecordBuilder<R>
sourcepub fn saved(self, saved: bool) -> RecordBuilder<R>
pub fn saved(self, saved: bool) -> RecordBuilder<R>
Sets if the receiver is initially in a saved state. By default the receiver is in a saved state.