pub struct Digital;Expand description
Inputs that return either true or false.
The neutral/default value returned is false.
Trait Implementations§
Source§impl InputKind for Digital
impl InputKind for Digital
Source§type Binding = DigitalBinding
type Binding = DigitalBinding
The type that identifies buttons or joysticks of this kind on user input devices.
Source§type Result = DigitalResult
type Result = DigitalResult
The type of value returned when querying this input.
impl Copy for Digital
impl Eq for Digital
impl StructuralPartialEq for Digital
Auto Trait Implementations§
impl Freeze for Digital
impl RefUnwindSafe for Digital
impl Send for Digital
impl Sync for Digital
impl Unpin for Digital
impl UnwindSafe for Digital
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.