spitfire_gui::interactions

Struct GuiInteractionsInputs

Source
pub struct GuiInteractionsInputs {
Show 18 fields pub trigger: InputActionRef, pub context: InputActionRef, pub cancel: InputActionRef, pub left: InputActionRef, pub right: InputActionRef, pub up: InputActionRef, pub down: InputActionRef, pub prev: InputActionRef, pub next: InputActionRef, pub text: InputCharactersRef, pub text_start: InputActionRef, pub text_end: InputActionRef, pub text_delete_left: InputActionRef, pub text_delete_right: InputActionRef, pub pointer_position: ArrayInputCombinator<2>, pub pointer_trigger: InputActionRef, pub pointer_context: InputActionRef, pub scroll: ArrayInputCombinator<2>,
}

Fields§

§trigger: InputActionRef§context: InputActionRef§cancel: InputActionRef§left: InputActionRef§right: InputActionRef§up: InputActionRef§down: InputActionRef§prev: InputActionRef§next: InputActionRef§text: InputCharactersRef§text_start: InputActionRef§text_end: InputActionRef§text_delete_left: InputActionRef§text_delete_right: InputActionRef§pointer_position: ArrayInputCombinator<2>§pointer_trigger: InputActionRef§pointer_context: InputActionRef§scroll: ArrayInputCombinator<2>

Trait Implementations§

Source§

impl Default for GuiInteractionsInputs

Source§

fn default() -> GuiInteractionsInputs

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

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> Finalize for T

Source§

unsafe fn finalize_raw(data: *mut ())

Safety Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Initialize for T
where T: Default,

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.