Skip to main content

Seats

Trait Seats 

Source
pub trait Seats<A, B> { }
Expand description

Proves that one of an InputActions set’s three kinds seats A.

Written by the engine for every input set, so a game writes it for none of its own. The input queries, rebind and bindings are bound by it. B is the kind’s binding type; it keeps the three kinds apart, since nothing proves a set’s three kinds are three different types.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§