Skip to main content

from_slot

Function from_slot 

Source
pub(crate) unsafe fn from_slot<T>(slot: Slot) -> Rc<T>
Expand description

Takes the object a slot owns.

ยงSafety

slot came from into_slot with the same T, and its ownership passes to the result.