pub struct MapHeights {
pub width: usize,
pub heights: Vec<i16>,
}Expand description
The map component’s terrain grid.
Original: FUN_1400b59a0.
Fields§
§width: usizeSamples per side (2n + 1).
heights: Vec<i16>The heights, row by row: height × 256.
Trait Implementations§
Source§impl Clone for MapHeights
impl Clone for MapHeights
Source§fn clone(&self) -> MapHeights
fn clone(&self) -> MapHeights
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 MapHeights
impl RefUnwindSafe for MapHeights
impl Send for MapHeights
impl Sync for MapHeights
impl Unpin for MapHeights
impl UnsafeUnpin for MapHeights
impl UnwindSafe for MapHeights
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