Trait InputCombine

Source
pub trait InputCombine {
    // Required method
    fn combine(&self, with: &Self) -> Self;
}
Expand description

Trait for combining two inputs together

Required Methods§

Source

fn combine(&self, with: &Self) -> Self

Combine this input with another one, usually this means any pressed buttons from either device will be down in the new one

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.

Implementors§