Struct amethyst_input::Bindings [] [src]

pub struct Bindings { /* fields omitted */ }

Used for saving and loading input settings.

Methods

impl Bindings
[src]

Assign an axis to an ID value

This will insert a new axis if no entry for this id exists. If one does exist this will replace the axis at that id and return it.

Removes an axis, this will return the removed axis if successful.

Returns a reference to an axis.

Gets a list of all axes

Add a button to an action.

This will insert a new binding between this action and the button.

Removes an action binding that was assigned previously.

Returns an action's bindings.

Gets a list of all action bindings

Trait Implementations

impl Default for Bindings
[src]

Returns the "default value" for a type. Read more