Function path_to_type

Source
pub fn path_to_type<P: AsRef<Path>>(path: P, ty: NodeType) -> Result<PathBuf>
Expand description

Returns the path of a specific type of node from the same DRM device as another path of the same node.