pub struct Builder<F = Box<dyn FnMut(Signal)>> { /* fields omitted */ }
Expand description
Builder for a Record.
let _ = Builder::new()
.limit(100)
.capacity(100)
.connect(|s| { dbg!(s); })
.build::<Add>();
Returns a builder for a record.
Sets the capacity for the record.
Sets the limit
of the record.
Panics if limit
is 0
.
Sets if the target is initially in a saved state.
By default the target is in a saved state.
Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.