Struct ros_pointcloud2::PointMeta
source · pub struct PointMeta { /* private fields */ }Expand description
Meta data representation for a point
This struct is used to store meta data in a fixed size byte buffer along the with the datatype that is encoded so that it can be decoded later.
§Example
use ros_pointcloud2::PointMeta;
let original_data: f64 = 1.0;
let meta = PointMeta::new(original_data);
let my_data: f64 = meta.get().unwrap();Implementations§
Trait Implementations§
impl Copy for PointMeta
Auto Trait Implementations§
impl Freeze for PointMeta
impl RefUnwindSafe for PointMeta
impl Send for PointMeta
impl Sync for PointMeta
impl Unpin for PointMeta
impl UnwindSafe for PointMeta
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more