Struct undo::RecordBuilder[][src]

pub struct RecordBuilder<R> { /* fields omitted */ }

Builder for a record.

Methods

impl<R> RecordBuilder<R>
[src]

Sets the capacity for the record.

Sets the limit for 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 the signal should be handled when the state changes. By default the record does not handle any signals.

Builds the record.

impl<R: Default> RecordBuilder<R>
[src]

Creates the record with a default receiver.

Trait Implementations

impl<R: Debug> Debug for RecordBuilder<R>
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<R> Send for RecordBuilder<R> where
    R: Send

impl<R> Sync for RecordBuilder<R> where
    R: Sync