pub fn shape_ref_id(shape: &ShapeRef) -> ShapeId
Returns the shape id behind a shape reference, or ShapeId(0) if none.
ShapeId(0)