Checkpoint
This commit is contained in:
parent
13ba450c4c
commit
5ab1034698
5 changed files with 63 additions and 32 deletions
|
@ -275,10 +275,7 @@ impl<'a, 'w, T: Send + Sync + 'static> ViewContext<'a, 'w, T> {
|
|||
}
|
||||
|
||||
pub fn handle(&self) -> WeakHandle<T> {
|
||||
WeakHandle {
|
||||
id: self.entity_id,
|
||||
entity_type: PhantomData,
|
||||
}
|
||||
self.entities.weak_handle(self.entity_id)
|
||||
}
|
||||
|
||||
pub fn observe<E: Send + Sync + 'static>(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue