pub struct Slot<'s, 'f> { /* fields omitted */ }
Expand description
A value slot to fill using the Fill
trait.
impl<'s, 'f> Slot<'s, 'f>
Fill the slot with a value.
The given value doesn’t need to satisfy any particular lifetime constraints.
Calling more than a single fill
method on this slot will panic.
impl<'s, 'f> Slot<'s, 'f>
Fill the slot with a debuggable value.
The given value doesn’t need to satisfy any particular lifetime constraints.
Calling more than a single fill
method on this slot will panic.
Fill the slot with a displayable value.
The given value doesn’t need to satisfy any particular lifetime constraints.
Calling more than a single fill
method on this slot will panic.
Formats the value using the given formatter. Read more
impl<'s, 'f> Unpin for Slot<'s, 'f> where
'f: 's,
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.