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

The corresponding scannable cursor type.

Required Methods

Convert this into a scannable cursor.

Implementors