pub struct Slot {
pub value: Rc<dyn Any>,
pub subscribers: HashSet<ScopeId>,
}
Fields§
§value: Rc<dyn Any>
§subscribers: HashSet<ScopeId>
Auto Trait Implementations§
impl !RefUnwindSafe for Slot
impl !Send for Slot
impl !Sync for Slot
impl Unpin for Slot
impl !UnwindSafe for Slot
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