Skip to main content

path_names

Function path_names 

Source
pub fn path_names<'a>(
    id: Uuid,
    name_of: impl Fn(Uuid) -> Option<&'a str>,
    parent_of: impl Fn(Uuid) -> Option<Uuid>,
) -> Vec<String>
Expand description

The names from the root down to id; an account with no name is shown by its id, and a parent cycle ends the walk.