Skip to main content

parent_of

Function parent_of 

Source
pub fn parent_of(shapes: &[Shape], id: ShapeId) -> Option<Option<ShapeId>>
Expand description

The group directly holding id: Some(None) for a top-level shape, None when absent.