pub struct Slotted<T: Render> { /* private fields */ }Expand description
A renderable wrapper that assigns content to a named slot.
Most code should reach this type through InSlotExt::in_slot instead of constructing it
directly.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for Slotted<T>where
T: Freeze,
impl<T> RefUnwindSafe for Slotted<T>where
T: RefUnwindSafe,
impl<T> Send for Slotted<T>where
T: Send,
impl<T> Sync for Slotted<T>where
T: Sync,
impl<T> Unpin for Slotted<T>where
T: Unpin,
impl<T> UnsafeUnpin for Slotted<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for Slotted<T>where
T: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more