Valid#
func (move ReorderMove) Valid() boolAPI 文档由 Go 源码生成,内容为英文。
type ReorderMove struct {
ID ui.ID
From, To int
}ReorderMove describes one completed move in the caller's list. ID identifies the item independently of its position. From and To index the rows declared in the paint that produced the move, in the order Row was called, so a caller declares every item, in order, on every paint. Apply the move once, then repaint the list.
Valid#func (move ReorderMove) Valid() bool