pub struct MapFrame {
pub entity_id: i32,
pub rotation: i32,
pub pos: MapPos,
}
Expand description
A frame on a map.
Fields§
§entity_id: i32
Arbitrary unique value for the marker.
EntityId
rotation: i32
The rotation of the marker, ranging from 0 to 360.
Rotation
pos: MapPos
The block position of the marker in the world.
Pos
Trait Implementations§
Source§impl FromCompoundNbt for MapFrame
impl FromCompoundNbt for MapFrame
fn from_compound_nbt(nbt: &NbtCompound<'_, '_>) -> Result<Self, SculkParseError>where
Self: Sized,
impl StructuralPartialEq for MapFrame
Auto Trait Implementations§
impl Freeze for MapFrame
impl RefUnwindSafe for MapFrame
impl Send for MapFrame
impl Sync for MapFrame
impl Unpin for MapFrame
impl UnwindSafe for MapFrame
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