Trait bismuth::input::Snapshot [] [src]

pub trait Snapshot {
    fn snapshot(&mut self);
}

Provides snapshotting for an input device. Input devices maintain a live state and snapshot state, which are updated via React and this trait, respectively.

Required Methods

Snapshots the live state.

Implementors