pub struct CardinalInputCombinator(/* private fields */);
Implementations§
Source§impl CardinalInputCombinator
impl CardinalInputCombinator
pub fn new( left: impl Into<InputActionOrAxisRef>, right: impl Into<InputActionOrAxisRef>, up: impl Into<InputActionOrAxisRef>, down: impl Into<InputActionOrAxisRef>, ) -> Self
pub fn get(&self) -> [f32; 2]
Trait Implementations§
Source§impl Default for CardinalInputCombinator
impl Default for CardinalInputCombinator
Source§fn default() -> CardinalInputCombinator
fn default() -> CardinalInputCombinator
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CardinalInputCombinator
impl !RefUnwindSafe for CardinalInputCombinator
impl !Send for CardinalInputCombinator
impl !Sync for CardinalInputCombinator
impl Unpin for CardinalInputCombinator
impl !UnwindSafe for CardinalInputCombinator
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