Struct rclrust_msg::sensor_msgs::msg::PointCloud2
source · [−]pub struct PointCloud2 {
pub header: Header,
pub height: u32,
pub width: u32,
pub fields: Vec<PointField>,
pub is_bigendian: bool,
pub point_step: u32,
pub row_step: u32,
pub data: Vec<u8>,
pub is_dense: bool,
}
Fields
header: Header
height: u32
width: u32
fields: Vec<PointField>
is_bigendian: bool
point_step: u32
row_step: u32
data: Vec<u8>
is_dense: bool
Trait Implementations
sourceimpl Clone for PointCloud2
impl Clone for PointCloud2
sourcefn clone(&self) -> PointCloud2
fn clone(&self) -> PointCloud2
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 PointCloud2
impl Debug for PointCloud2
sourceimpl Default for PointCloud2
impl Default for PointCloud2
sourceimpl InternalDefault for PointCloud2
impl InternalDefault for PointCloud2
sourceimpl MessageT for PointCloud2
impl MessageT for PointCloud2
type Raw = PointCloud2_Raw
type RawRef = PointCloud2_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<PointCloud2> for PointCloud2
impl PartialEq<PointCloud2> for PointCloud2
sourcefn eq(&self, other: &PointCloud2) -> bool
fn eq(&self, other: &PointCloud2) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &PointCloud2) -> bool
fn ne(&self, other: &PointCloud2) -> bool
This method tests for !=
.
impl StructuralPartialEq for PointCloud2
Auto Trait Implementations
impl RefUnwindSafe for PointCloud2
impl Send for PointCloud2
impl Sync for PointCloud2
impl Unpin for PointCloud2
impl UnwindSafe for PointCloud2
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