Struct redo::RecordBuilder
source · pub struct RecordBuilder<R, C: Command<R>> { /* private fields */ }
Expand description
Builder for a record.
Implementations
sourceimpl<R, C: Command<R>> RecordBuilder<R, C>
impl<R, C: Command<R>> RecordBuilder<R, C>
sourcepub fn capacity(self, capacity: usize) -> RecordBuilder<R, C>
pub fn capacity(self, capacity: usize) -> RecordBuilder<R, C>
Sets the capacity for the record.
sourcepub fn limit(self, limit: usize) -> RecordBuilder<R, C>
pub fn limit(self, limit: usize) -> RecordBuilder<R, C>
sourcepub fn saved(self, saved: bool) -> RecordBuilder<R, C>
pub fn saved(self, saved: bool) -> RecordBuilder<R, C>
Sets if the receiver is initially in a saved state. By default the receiver is in a saved state.
Trait Implementations
Auto Trait Implementations
impl<R, C> !RefUnwindSafe for RecordBuilder<R, C>
impl<R, C> Send for RecordBuilder<R, C>where
C: Send,
R: Send,
impl<R, C> Sync for RecordBuilder<R, C>where
C: Sync,
R: Sync,
impl<R, C> Unpin for RecordBuilder<R, C>where
C: Unpin,
R: Unpin,
impl<R, C> !UnwindSafe for RecordBuilder<R, C>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more