Trait scan_rules::input::IntoScanCursor [] [src]

pub trait IntoScanCursor<'a>: Sized {
    type Output: 'a + ScanCursor<'a>;
    fn into_scan_cursor(self) -> Self::Output;
}

Conversion into a ScanCursor.

This is a helper trait used to convert different values into a scannable cursor type. Implement this if you want your type to be usable as input to one of the scanning macros.

Associated Types

type Output: 'a + ScanCursor<'a>

The corresponding scannable cursor type.

Required Methods

fn into_scan_cursor(self) -> Self::Output

Convert this into a scannable cursor.

Implementors