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