pub struct ValueSlotHandle<'pass, T: 'static> { /* private fields */ }Expand description
A typed reference to a value stored in a slot, made by Composer::use_value_slot. It is valid
for the composition pass that made it, and Composer::with_slot_value reads through it.
Trait Implementations§
Source§impl<T: 'static> Clone for ValueSlotHandle<'_, T>
impl<T: 'static> Clone for ValueSlotHandle<'_, T>
impl<T: 'static> Copy for ValueSlotHandle<'_, T>
Auto Trait Implementations§
impl<'pass, T> !RefUnwindSafe for ValueSlotHandle<'pass, T>
impl<'pass, T> !Send for ValueSlotHandle<'pass, T>
impl<'pass, T> !Sync for ValueSlotHandle<'pass, T>
impl<'pass, T> !UnwindSafe for ValueSlotHandle<'pass, T>
impl<'pass, T> Freeze for ValueSlotHandle<'pass, T>
impl<'pass, T> Unpin for ValueSlotHandle<'pass, T>
impl<'pass, T> UnsafeUnpin for ValueSlotHandle<'pass, T>
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