TokenSequence

Trait TokenSequence 

Source
pub trait TokenSequence {
    // Provided method
    fn next() -> Token { ... }
}
Expand description

This trait defines a method for sequential generation of tokens

Note: This type is only available on platforms that support atomic loads and stores of usize

Provided Methods§

Source

fn next() -> Token

generate next file description handle.

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.

Implementations on Foreign Types§

Source§

impl TokenSequence for Token

Implementors§