Struct redo::RecordBuilder

source ·
pub struct RecordBuilder<R, C: Command<R>> { /* private fields */ }
Expand description

Builder for a record.

Implementations

Sets the capacity for the record.

Sets the limit of the record.

Panics

Panics if limit is 0.

Sets if the receiver is initially in a saved state. By default the receiver is in a saved state.

Decides how different signals should be handled when the state changes. By default the record does not handle any signals.

Builds the record.

Creates the record with a default receiver.

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.