pub trait IntoScanCursor<'a>: Sized {
type Output: 'a + ScanCursor<'a>;
// Required method
fn into_scan_cursor(self) -> Self::Output;
}
Expand description
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.
Required Associated Types§
Sourcetype Output: 'a + ScanCursor<'a>
type Output: 'a + ScanCursor<'a>
The corresponding scannable cursor type.
Required Methods§
Sourcefn into_scan_cursor(self) -> Self::Output
fn into_scan_cursor(self) -> Self::Output
Convert this into a scannable cursor.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.