pub struct NearbyContainer {
pub view: PlacedContainerView,
pub distance_m: f32,
pub rows: Vec<InventoryRow>,
}Expand description
A placed chest within CONTAINER_RANGE_M, with its contents pre-flattened for
the browser (empty when locked without the matching key).
Fields§
§view: PlacedContainerView§distance_m: f32§rows: Vec<InventoryRow>Trait Implementations§
Source§impl Clone for NearbyContainer
impl Clone for NearbyContainer
Source§fn clone(&self) -> NearbyContainer
fn clone(&self) -> NearbyContainer
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 moreAuto Trait Implementations§
impl Freeze for NearbyContainer
impl RefUnwindSafe for NearbyContainer
impl Send for NearbyContainer
impl Sync for NearbyContainer
impl Unpin for NearbyContainer
impl UnsafeUnpin for NearbyContainer
impl UnwindSafe for NearbyContainer
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