Struct rclrust_msg::turtlesim::srv::SetPen_Request
source · [−]Fields
r: u8
g: u8
b: u8
width: u8
off: u8
Trait Implementations
sourceimpl Clone for SetPen_Request
impl Clone for SetPen_Request
sourcefn clone(&self) -> SetPen_Request
fn clone(&self) -> SetPen_Request
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 SetPen_Request
impl Debug for SetPen_Request
sourceimpl Default for SetPen_Request
impl Default for SetPen_Request
sourceimpl InternalDefault for SetPen_Request
impl InternalDefault for SetPen_Request
sourceimpl MessageT for SetPen_Request
impl MessageT for SetPen_Request
type Raw = SetPen_Request_Raw
type RawRef = SetPen_Request_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<SetPen_Request> for SetPen_Request
impl PartialEq<SetPen_Request> for SetPen_Request
sourcefn eq(&self, other: &SetPen_Request) -> bool
fn eq(&self, other: &SetPen_Request) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &SetPen_Request) -> bool
fn ne(&self, other: &SetPen_Request) -> bool
This method tests for !=
.
impl StructuralPartialEq for SetPen_Request
Auto Trait Implementations
impl RefUnwindSafe for SetPen_Request
impl Send for SetPen_Request
impl Sync for SetPen_Request
impl Unpin for SetPen_Request
impl UnwindSafe for SetPen_Request
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