Struct rclrust_msg::pendulum_msgs::msg::JointCommand
source · [−]pub struct JointCommand {
pub position: f64,
}
Fields
position: f64
Trait Implementations
sourceimpl Clone for JointCommand
impl Clone for JointCommand
sourcefn clone(&self) -> JointCommand
fn clone(&self) -> JointCommand
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 JointCommand
impl Debug for JointCommand
sourceimpl Default for JointCommand
impl Default for JointCommand
sourceimpl InternalDefault for JointCommand
impl InternalDefault for JointCommand
sourceimpl MessageT for JointCommand
impl MessageT for JointCommand
type Raw = JointCommand_Raw
type RawRef = JointCommand_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<JointCommand> for JointCommand
impl PartialEq<JointCommand> for JointCommand
sourcefn eq(&self, other: &JointCommand) -> bool
fn eq(&self, other: &JointCommand) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &JointCommand) -> bool
fn ne(&self, other: &JointCommand) -> bool
This method tests for !=
.
impl StructuralPartialEq for JointCommand
Auto Trait Implementations
impl RefUnwindSafe for JointCommand
impl Send for JointCommand
impl Sync for JointCommand
impl Unpin for JointCommand
impl UnwindSafe for JointCommand
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