pub struct StorageMatch {
pub site: usize,
pub storage: usize,
pub material: usize,
pub target: [f32; 3],
}Expand description
The result of a storage search: the storage and what it offers.
Fields§
§site: usizeThe storage site.
storage: usizeThe storage.
material: usizeThe raw material it offers.
target: [f32; 3]The point to walk to.
Trait Implementations§
Source§impl Clone for StorageMatch
impl Clone for StorageMatch
Source§fn clone(&self) -> StorageMatch
fn clone(&self) -> StorageMatch
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 StorageMatch
impl Debug for StorageMatch
Source§impl PartialEq for StorageMatch
impl PartialEq for StorageMatch
impl StructuralPartialEq for StorageMatch
Auto Trait Implementations§
impl Freeze for StorageMatch
impl RefUnwindSafe for StorageMatch
impl Send for StorageMatch
impl Sync for StorageMatch
impl Unpin for StorageMatch
impl UnsafeUnpin for StorageMatch
impl UnwindSafe for StorageMatch
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