IntoBones

Trait IntoBones 

Source
pub trait IntoBones<T> {
    // Required method
    fn into_bones(self) -> T;
}
Expand description

Trait for converting types similar to bones into their bones compatible versions.

Required Methods§

Source

fn into_bones(self) -> T

Converts this type into its bones compatible equivalent.

Implementations on Foreign Types§

Source§

impl IntoBones<ButtonState> for ButtonState

Source§

fn into_bones(self) -> ButtonState

Source§

impl IntoBones<GamepadAxis> for GamepadAxisType

Source§

fn into_bones(self) -> GamepadAxis

Source§

impl IntoBones<GamepadButton> for GamepadButtonType

Source§

fn into_bones(self) -> GamepadButton

Source§

impl IntoBones<KeyCode> for KeyCode

Source§

fn into_bones(self) -> KeyCode

Source§

impl IntoBones<MouseButton> for MouseButton

Source§

fn into_bones(self) -> MouseButton

Source§

impl IntoBones<MouseScrollUnit> for MouseScrollUnit

Source§

fn into_bones(self) -> MouseScrollUnit

Implementors§