pub struct OccupancyGrid {
pub width: usize,
pub height: usize,
pub resolution: f64,
pub data: Vec<f32>,
pub origin: [f64; 3],
}Expand description
A 2-D occupancy grid map.
Fields§
§width: usize§height: usize§resolution: f64§data: Vec<f32>§origin: [f64; 3]Implementations§
Trait Implementations§
Source§impl Clone for OccupancyGrid
impl Clone for OccupancyGrid
Source§fn clone(&self) -> OccupancyGrid
fn clone(&self) -> OccupancyGrid
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OccupancyGrid
impl Debug for OccupancyGrid
Source§impl<'de> Deserialize<'de> for OccupancyGrid
impl<'de> Deserialize<'de> for OccupancyGrid
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for OccupancyGrid
impl RefUnwindSafe for OccupancyGrid
impl Send for OccupancyGrid
impl Sync for OccupancyGrid
impl Unpin for OccupancyGrid
impl UnsafeUnpin for OccupancyGrid
impl UnwindSafe for OccupancyGrid
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