pub struct GlobalPos {
pub dimension: Identifier,
pub pos: BlockPos,
}Expand description
A global position (dimension + block position).
Fields§
§dimension: Identifier§pos: BlockPosImplementations§
Trait Implementations§
impl Eq for GlobalPos
impl StructuralPartialEq for GlobalPos
Auto Trait Implementations§
impl Freeze for GlobalPos
impl RefUnwindSafe for GlobalPos
impl Send for GlobalPos
impl Sync for GlobalPos
impl Unpin for GlobalPos
impl UnsafeUnpin for GlobalPos
impl UnwindSafe for GlobalPos
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.