pub struct GridCoordinates {
pub row: Option<i32>,
pub column: Option<i32>,
pub aisle: Option<String>,
pub bay: Option<String>,
pub level: Option<i32>,
pub cell: Option<String>,
}Expand description
Grid-based coordinates for structured environments.
Fields§
§row: Option<i32>Row index
column: Option<i32>Column index
aisle: Option<String>Aisle identifier
bay: Option<String>Bay identifier
level: Option<i32>Level/shelf number
cell: Option<String>Cell/slot identifier
Trait Implementations§
Source§impl Clone for GridCoordinates
impl Clone for GridCoordinates
Source§fn clone(&self) -> GridCoordinates
fn clone(&self) -> GridCoordinates
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 GridCoordinates
impl Debug for GridCoordinates
Source§impl Default for GridCoordinates
impl Default for GridCoordinates
Source§fn default() -> GridCoordinates
fn default() -> GridCoordinates
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GridCoordinates
impl<'de> Deserialize<'de> for GridCoordinates
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 GridCoordinates
impl RefUnwindSafe for GridCoordinates
impl Send for GridCoordinates
impl Sync for GridCoordinates
impl Unpin for GridCoordinates
impl UnwindSafe for GridCoordinates
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