chunkedge_protocol/
global_pos.rs1use std::borrow::Cow;
2
3use chunkedge_binary::{Decode, Encode};
4use chunkedge_ident::Ident;
5
6use crate::block_pos::BlockPos;
7
8#[derive(Clone, PartialEq, Eq, Debug, Encode, Decode)]
9pub struct GlobalPos<'a> {
10 pub dimension_name: Ident<Cow<'a, str>>,
11 pub position: BlockPos,
12}