[][src]Enum imgui_sys::ImGuiNavInput

#[repr(C)]
pub enum ImGuiNavInput { Activate, Cancel, Input, Menu, DpadLeft, DpadRight, DpadUp, DpadDown, LStickLeft, LStickRight, LStickUp, LStickDown, FocusPrev, FocusNext, TweakSlow, TweakFast, }

An input identifier for navigation

Variants

Activate

activate / open / toggle / tweak value

e.g. Cross (PS4), A (Xbox), A (Switch), Space (Keyboard)

Cancel

cancel / close / exit

e.g. Circle (PS4), B (Xbox), B (Switch), Escape (Keyboard)

Input

text input / on-screen keyboard

e.g. Triang.(PS4), Y (Xbox), X (Switch), Return (Keyboard)

Menu

tap: toggle menu / hold: focus, move, resize

e.g. Square (PS4), X (Xbox), Y (Switch), Alt (Keyboard)

DpadLeft

move / tweak / resize window (w/ PadMenu)

e.g. D-pad Left (Gamepads), Left arrow (Keyboard)

DpadRight

move / tweak / resize window (w/ PadMenu)

e.g. D-pad Right (Gamepads), Right arrow (Keyboard)

DpadUp

move / tweak / resize window (w/ PadMenu)

e.g. D-pad Up (Gamepads), Up arrow (Keyboard)

DpadDown

move / tweak / resize window (w/ PadMenu)

e.g. D-pad Down (Gamepads), Down arrow (Keyboard)

LStickLeft

scroll / move window (w/ PadMenu)

e.g. Left Analog Stick Left

LStickRight

scroll / move window (w/ PadMenu)

e.g. Left Analog Stick Right

LStickUp

scroll / move window (w/ PadMenu)

e.g. Left Analog Stick Up

LStickDown

scroll / move window (w/ PadMenu)

e.g. Left Analog Stick Down

FocusPrev

next window (w/ PadMenu)

e.g. L1 or L2 (PS4), LB or LT (Xbox), L or ZL (Switch)

FocusNext

prev window (w/ PadMenu)

e.g. R1 or R2 (PS4), RB or RT (Xbox), R or ZL (Switch)

TweakSlow

slower tweaks

e.g. L1 or L2 (PS4), LB or LT (Xbox), L or ZL (Switch)

TweakFast

faster tweaks

e.g. R1 or R2 (PS4), RB or RT (Xbox), R or ZL (Switch)

Methods

impl ImGuiNavInput[src]

pub const VARIANTS: [ImGuiNavInput; 16][src]

All possible ImGuiNavInput variants

pub const COUNT: usize[src]

Trait Implementations

impl Eq for ImGuiNavInput[src]

impl Clone for ImGuiNavInput[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for ImGuiNavInput[src]

impl PartialEq<ImGuiNavInput> for ImGuiNavInput[src]

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]

This method tests for !=.

impl Debug for ImGuiNavInput[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]