Struct overclock::core::LocateScopeId
source · pub struct LocateScopeId { /* private fields */ }
Expand description
Helper struct, to traverse the supervision tree and locate the scope id
Implementations§
source§impl LocateScopeId
impl LocateScopeId
sourcepub fn with_scope_id(start: ScopeId) -> Self
pub fn with_scope_id(start: ScopeId) -> Self
Create new LocateScopeId struct with scope id as its start id
sourcepub fn child<D: Into<String>>(self, dir_name: D) -> Self
pub fn child<D: Into<String>>(self, dir_name: D) -> Self
Add child with the provided name to the directory path
sourcepub fn grandparent(self) -> Self
pub fn grandparent(self) -> Self
Add grand parent to the directory path