Find a scope handle by UUID. # Parameters - `uuid`: UUID of the scope to search for. # Returns `Some(&ScopeHandle)` when the scope is active on this stack and `None` otherwise.
(&self, uuid: &Uuid)
| 106 | /// `Some(&ScopeHandle)` when the scope is active on this stack and `None` |
| 107 | /// otherwise. |
| 108 | pub fn find(&self, uuid: &Uuid) -> Option<&ScopeHandle> { |
| 109 | self.stack.iter().find(|handle| handle.uuid == *uuid) |
| 110 | } |
| 111 | |
| 112 | /// Remove the current top scope if it matches `uuid`. |
| 113 | /// |
no outgoing calls