code: func (v *view) allFragments() []*fragment {
  	v.mu.Lock()
  	defer v.mu.Unlock()
  
  	other := make([]*fragment, 0, len(v.fragments))
  	for _, fragment := range v.fragments {
  		other = append(other, fragment)
  	}
  	return other
  }
docs: // allFragments returns a list of all fragments in the view.