Struct redo::RecordBuilder[][src]

pub struct RecordBuilder<R, C: Command<R>> { /* fields omitted */ }

Builder for a record.

Methods

impl<R, C: Command<R>> RecordBuilder<R, C>
[src]

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.

impl<R: Default, C: Command<R>> RecordBuilder<R, C>
[src]

Creates the record with a default receiver.

Trait Implementations

impl<R: Debug, C: Command<R> + Debug> Debug for RecordBuilder<R, C>
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

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