pub struct DualsenseSensorValue(/* private fields */);Expand description
Represents the value of a sensor (accelerometer/gyroscope) in a Dualsense controller
Trait Implementations§
Source§impl Clone for DualsenseSensorValue
impl Clone for DualsenseSensorValue
Source§fn clone(&self) -> DualsenseSensorValue
fn clone(&self) -> DualsenseSensorValue
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DualsenseSensorValue
Source§impl Debug for DualsenseSensorValue
impl Debug for DualsenseSensorValue
Source§impl Default for DualsenseSensorValue
impl Default for DualsenseSensorValue
Source§fn default() -> DualsenseSensorValue
fn default() -> DualsenseSensorValue
Returns the “default value” for a type. Read more
impl Eq for DualsenseSensorValue
Source§impl From<DualsenseSensorValue> for f32
impl From<DualsenseSensorValue> for f32
Source§fn from(val: DualsenseSensorValue) -> Self
fn from(val: DualsenseSensorValue) -> Self
Converts to this type from the input type.
Source§impl From<i16> for DualsenseSensorValue
impl From<i16> for DualsenseSensorValue
Source§impl Hash for DualsenseSensorValue
impl Hash for DualsenseSensorValue
Source§impl PartialEq for DualsenseSensorValue
impl PartialEq for DualsenseSensorValue
Source§fn eq(&self, other: &DualsenseSensorValue) -> bool
fn eq(&self, other: &DualsenseSensorValue) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DualsenseSensorValue
Auto Trait Implementations§
impl Freeze for DualsenseSensorValue
impl RefUnwindSafe for DualsenseSensorValue
impl Send for DualsenseSensorValue
impl Sync for DualsenseSensorValue
impl Unpin for DualsenseSensorValue
impl UnsafeUnpin for DualsenseSensorValue
impl UnwindSafe for DualsenseSensorValue
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