pub struct HeightMap {
pub width: i32,
pub height: i32,
pub tiles: Vec<HeightMapTile>,
}
Fields§
§width: i32
§height: i32
§tiles: Vec<HeightMapTile>
Implementations§
Trait Implementations§
Source§impl BaseParser for HeightMap
impl BaseParser for HeightMap
fn parse(packet: &mut HPacket) -> Self
fn append_to_packet(&self, packet: &mut HPacket)
fn get_direction() -> HDirection
fn get_packet_name() -> String
Source§impl PacketVariable for HeightMap
impl PacketVariable for HeightMap
impl StructuralPartialEq for HeightMap
Auto Trait Implementations§
impl Freeze for HeightMap
impl RefUnwindSafe for HeightMap
impl Send for HeightMap
impl Sync for HeightMap
impl Unpin for HeightMap
impl UnwindSafe for HeightMap
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