Struct spitfire_input::DualInputCombinator
source · pub struct DualInputCombinator(/* private fields */);
Implementations§
source§impl DualInputCombinator
impl DualInputCombinator
pub fn new( negative: impl Into<InputActionOrAxisRef>, positive: impl Into<InputActionOrAxisRef> ) -> Self
pub fn get(&self) -> f32
Trait Implementations§
source§impl Default for DualInputCombinator
impl Default for DualInputCombinator
source§fn default() -> DualInputCombinator
fn default() -> DualInputCombinator
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for DualInputCombinator
impl !Send for DualInputCombinator
impl !Sync for DualInputCombinator
impl Unpin for DualInputCombinator
impl !UnwindSafe for DualInputCombinator
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