Struct rclrust_msg::nav_msgs::srv::LoadMap_Response
source · [−]pub struct LoadMap_Response {
pub map: OccupancyGrid,
pub result: u8,
}
Fields
map: OccupancyGrid
result: u8
Implementations
sourceimpl LoadMap_Response
impl LoadMap_Response
pub const RESULT_SUCCESS: u8 = 0u8
pub const RESULT_MAP_DOES_NOT_EXIST: u8 = 1u8
pub const RESULT_INVALID_MAP_DATA: u8 = 2u8
pub const RESULT_INVALID_MAP_METADATA: u8 = 3u8
pub const RESULT_UNDEFINED_FAILURE: u8 = 255u8
Trait Implementations
sourceimpl Clone for LoadMap_Response
impl Clone for LoadMap_Response
sourcefn clone(&self) -> LoadMap_Response
fn clone(&self) -> LoadMap_Response
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 LoadMap_Response
impl Debug for LoadMap_Response
sourceimpl Default for LoadMap_Response
impl Default for LoadMap_Response
sourceimpl InternalDefault for LoadMap_Response
impl InternalDefault for LoadMap_Response
sourceimpl MessageT for LoadMap_Response
impl MessageT for LoadMap_Response
type Raw = LoadMap_Response_Raw
type RawRef = LoadMap_Response_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<LoadMap_Response> for LoadMap_Response
impl PartialEq<LoadMap_Response> for LoadMap_Response
sourcefn eq(&self, other: &LoadMap_Response) -> bool
fn eq(&self, other: &LoadMap_Response) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &LoadMap_Response) -> bool
fn ne(&self, other: &LoadMap_Response) -> bool
This method tests for !=
.
impl StructuralPartialEq for LoadMap_Response
Auto Trait Implementations
impl RefUnwindSafe for LoadMap_Response
impl Send for LoadMap_Response
impl Sync for LoadMap_Response
impl Unpin for LoadMap_Response
impl UnwindSafe for LoadMap_Response
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