Struct rclrust_msg::shape_msgs::msg::SolidPrimitive
source · [−]Fields
type_: u8
dimensions: Vec<f64>
polygon: Vec<Polygon>
Implementations
sourceimpl SolidPrimitive
impl SolidPrimitive
pub const BOX: u8 = 1u8
pub const SPHERE: u8 = 2u8
pub const CYLINDER: u8 = 3u8
pub const CONE: u8 = 4u8
pub const PRISM: u8 = 5u8
pub const BOX_X: u8 = 0u8
pub const BOX_Y: u8 = 1u8
pub const BOX_Z: u8 = 2u8
pub const SPHERE_RADIUS: u8 = 0u8
pub const CYLINDER_HEIGHT: u8 = 0u8
pub const CYLINDER_RADIUS: u8 = 1u8
pub const CONE_HEIGHT: u8 = 0u8
pub const CONE_RADIUS: u8 = 1u8
pub const PRISM_HEIGHT: u8 = 0u8
Trait Implementations
sourceimpl Clone for SolidPrimitive
impl Clone for SolidPrimitive
sourcefn clone(&self) -> SolidPrimitive
fn clone(&self) -> SolidPrimitive
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 SolidPrimitive
impl Debug for SolidPrimitive
sourceimpl Default for SolidPrimitive
impl Default for SolidPrimitive
sourceimpl InternalDefault for SolidPrimitive
impl InternalDefault for SolidPrimitive
sourceimpl MessageT for SolidPrimitive
impl MessageT for SolidPrimitive
type Raw = SolidPrimitive_Raw
type RawRef = SolidPrimitive_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<SolidPrimitive> for SolidPrimitive
impl PartialEq<SolidPrimitive> for SolidPrimitive
sourcefn eq(&self, other: &SolidPrimitive) -> bool
fn eq(&self, other: &SolidPrimitive) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &SolidPrimitive) -> bool
fn ne(&self, other: &SolidPrimitive) -> bool
This method tests for !=
.
impl StructuralPartialEq for SolidPrimitive
Auto Trait Implementations
impl RefUnwindSafe for SolidPrimitive
impl Send for SolidPrimitive
impl Sync for SolidPrimitive
impl Unpin for SolidPrimitive
impl UnwindSafe for SolidPrimitive
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