Struct xdl::vi::AxisButton [−][src]
Neg | Pos | Neutral
WARNING: It doesn’t store key repeat configuration on serde
.
Fields
pos: Button
Positive input
neg: Button
Negative input
Implementations
impl AxisButton
[src]
Lifecycle
impl AxisButton
[src]
pub fn sign_down(&self) -> Sign
[src]
Selects down sign pressed lately
pub fn sign_pressed(&self) -> Sign
[src]
Selects pressed sign pressed lately
pub fn accum_down(&self) -> Duration
[src]
How long it’s been down
Trait Implementations
impl Clone for AxisButton
[src]
fn clone(&self) -> AxisButton
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for AxisButton
[src]
Auto Trait Implementations
impl RefUnwindSafe for AxisButton
impl Send for AxisButton
impl Sync for AxisButton
impl Unpin for AxisButton
impl UnwindSafe for AxisButton
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,