#[repr(C)]pub struct MapMetadata {
pub map_load_time: Timestamp,
pub resolution: f32,
pub width: u32,
pub height: u32,
pub origin: Pose,
}
Fields§
§map_load_time: Timestamp
time at which the map is loaded
resolution: f32
the map resolution [m/cell]
width: u32
map width in cells
height: u32
map height in cells
origin: Pose
The origin of the map [m,m, rad]. This is the real world post of the bottom left corner of cell (0,0) in the map.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for MapMetadata
impl<'de> Deserialize<'de> for MapMetadata
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 MapMetadata
impl RefUnwindSafe for MapMetadata
impl Send for MapMetadata
impl Sync for MapMetadata
impl Unpin for MapMetadata
impl UnwindSafe for MapMetadata
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