struct

Cursor::Motion

Inherits Struct < Value < Object

Motion objects store the cursor that moved, the index from where it moved, and the index to which it moved.

Constructors

new(cursor : Cursor, from : Int32, to : Int32)
Source

Instance methods

clone
Source
copy_with(cursor _cursor = @cursor, from _from = @from, to _to = @to)
Source
cursor
from
to