pub struct Slot<'s, 'f> { /* private fields */ }
Expand description
A value slot to fill using the Fill
trait.
Fill the slot with a value.
The given value doesn’t need to satisfy any particular lifetime constraints.
Fill the slot with a debuggable value.
The given value doesn’t need to satisfy any particular lifetime constraints.
Fill the slot with a displayable value.
The given value doesn’t need to satisfy any particular lifetime constraints.
Formats the value using the given formatter.
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.