Struct rclrust_msg::sensor_msgs::msg::JoyFeedback
source · [−]Fields
type_: u8
id: u8
intensity: f32
Implementations
sourceimpl JoyFeedback
impl JoyFeedback
pub const TYPE_LED: u8 = 0u8
pub const TYPE_RUMBLE: u8 = 1u8
pub const TYPE_BUZZER: u8 = 2u8
Trait Implementations
sourceimpl Clone for JoyFeedback
impl Clone for JoyFeedback
sourcefn clone(&self) -> JoyFeedback
fn clone(&self) -> JoyFeedback
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for JoyFeedback
impl Debug for JoyFeedback
sourceimpl Default for JoyFeedback
impl Default for JoyFeedback
sourceimpl InternalDefault for JoyFeedback
impl InternalDefault for JoyFeedback
sourceimpl MessageT for JoyFeedback
impl MessageT for JoyFeedback
type Raw = JoyFeedback_Raw
type RawRef = JoyFeedback_RawRef
fn type_support() -> *const c_void
unsafe fn from_raw(from: &Self::Raw) -> Self
unsafe fn to_raw_ref(&self) -> Self::RawRef
sourceimpl PartialEq<JoyFeedback> for JoyFeedback
impl PartialEq<JoyFeedback> for JoyFeedback
sourcefn eq(&self, other: &JoyFeedback) -> bool
fn eq(&self, other: &JoyFeedback) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &JoyFeedback) -> bool
fn ne(&self, other: &JoyFeedback) -> bool
This method tests for !=
.
impl StructuralPartialEq for JoyFeedback
Auto Trait Implementations
impl RefUnwindSafe for JoyFeedback
impl Send for JoyFeedback
impl Sync for JoyFeedback
impl Unpin for JoyFeedback
impl UnwindSafe for JoyFeedback
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more