struct SeekSettings

Overview

Describes how a cursor should seek. Belongs primarily to Cursor#seek, but may be required or allowed by other, descendant methods.

#home describes whether the seek-d column should persist as the cursor's home column.

#step specifies which CursorStep should be used to seek the desired index.

Defined in:

aspis/cursor.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(home : Bool = true, step : CursorStep = CharStep.new) #

[View source]

Instance Method Detail

def clone #

[View source]
def copy_with(home _home = @home, step _step = @step) #

[View source]
def home : Bool #

def step : CursorStep #