pub struct AnalogControllerState {
pub left_x: i8,
pub left_y: i8,
pub right_x: i8,
pub right_y: i8,
}
Fields§
§left_x: i8
§left_y: i8
§right_x: i8
§right_y: i8
Trait Implementations§
Source§impl Clone for AnalogControllerState
impl Clone for AnalogControllerState
Source§fn clone(&self) -> AnalogControllerState
fn clone(&self) -> AnalogControllerState
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for AnalogControllerState
impl Debug for AnalogControllerState
Source§impl<'de> Deserialize<'de> for AnalogControllerState
impl<'de> Deserialize<'de> for AnalogControllerState
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for AnalogControllerState
impl PartialEq for AnalogControllerState
Source§impl Serialize for AnalogControllerState
impl Serialize for AnalogControllerState
impl Eq for AnalogControllerState
impl StructuralPartialEq for AnalogControllerState
Auto Trait Implementations§
impl Freeze for AnalogControllerState
impl RefUnwindSafe for AnalogControllerState
impl Send for AnalogControllerState
impl Sync for AnalogControllerState
impl Unpin for AnalogControllerState
impl UnwindSafe for AnalogControllerState
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