Enum oxygengine_user_interface::widget::component::interactive::navigation::NavSignal[][src]

pub enum NavSignal {
Show 21 variants None, Register(NavType), Unregister(NavType), Select(WidgetIdOrRef), Unselect, Lock, Unlock, Accept(bool), Context(bool), Cancel(bool), Up, Down, Left, Right, Prev, Next, Jump(NavJump), FocusTextInput(WidgetIdOrRef), TextChange(NavTextChange), Axis(Stringf32), Custom(WidgetIdOrRefString),
}

Variants

None
Register(NavType)

Tuple Fields of Register

0: NavType
Unregister(NavType)

Tuple Fields of Unregister

0: NavType

Tuple Fields of Select

0: WidgetIdOrRef
Unselect
Lock
Unlock
Accept(bool)

Tuple Fields of Accept

0: bool
Context(bool)

Tuple Fields of Context

0: bool
Cancel(bool)

Tuple Fields of Cancel

0: bool
Up
Down
Left
Right
Prev
Next
Jump(NavJump)

Tuple Fields of Jump

0: NavJump
FocusTextInput(WidgetIdOrRef)

Tuple Fields of FocusTextInput

0: WidgetIdOrRef
TextChange(NavTextChange)

Tuple Fields of TextChange

0: NavTextChange
Axis(Stringf32)

Tuple Fields of Axis

0: String1: f32

Tuple Fields of Custom

0: WidgetIdOrRef1: String

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

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

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.