pub struct Slot<'s, 'f> { /* fields omitted */ }
Expand description
A value slot to fill using the Fill
trait.
impl<'s, 'f> Slot<'s, 'f>
[src]
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>
[src]
Fill the slot with an error.
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 an error.
impl<'s, 'f> Slot<'s, 'f>
[src]
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.
impl<'s, 'f> Slot<'s, 'f>
[src]
Fill the slot with a structured 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>
[src]
Fill the slot with a structured 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 structured value.
Formats the value using the given formatter. Read more
impl<T> Any for T where
T: 'static + ?Sized,
[src]
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>,
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.