pub struct ParamSlot<T> { /* private fields */ }Expand description
ParamSlot holds function/closure parameters by ownership (no PartialEq/Clone required). Used by the #[composable] macro to store Fn-like parameters in the slot table.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T> !Freeze for ParamSlot<T>
impl<T> !RefUnwindSafe for ParamSlot<T>
impl<T> Send for ParamSlot<T>where
T: Send,
impl<T> !Sync for ParamSlot<T>
impl<T> Unpin for ParamSlot<T>where
T: Unpin,
impl<T> UnwindSafe for ParamSlot<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