pub trait ValueInput<'src>: Input<'src> {
// Required method
unsafe fn next(
cache: &mut Self::Cache,
cursor: &mut Self::Cursor,
) -> Option<Self::Token>;
}Expand description
Implemented by inputs that can have produce tokens by value.
Required Methods§
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.