pub struct LongArray<const N: usize>(pub [i64; N]);
Expand description
An internal type that makes the i64 array be serialized differently.
Azalea currently only uses this when writing checksums, but Minecraft also uses this internally when converting types to NBT.
Tuple Fields§
§0: [i64; N]
Trait Implementations§
Auto Trait Implementations§
impl<const N: usize> Freeze for LongArray<N>
impl<const N: usize> RefUnwindSafe for LongArray<N>
impl<const N: usize> Send for LongArray<N>
impl<const N: usize> Sync for LongArray<N>
impl<const N: usize> Unpin for LongArray<N>
impl<const N: usize> UnwindSafe for LongArray<N>
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