neuroglancer.viewer_state.StarredSegments.__setitem__(
    
segment_id: intvisible: bool)

Stars and sets the visibility of a segment.