neuroglancer.viewer_state.StarredSegments.__setitem__(
    
segment_id: int, visible: bool
)

Stars and sets the visibility of a segment.