Skip to content

Instantly share code, notes, and snippets.

View theangryangel's full-sized avatar
🤡
Focusing

Karl theangryangel

🤡
Focusing
View GitHub Profile
use core::fmt::Debug;
use std::marker::PhantomData;
#[derive(Debug)]
pub enum Mode {
Uncompressed,
Compressed,
}
pub trait VersionedPacket: Debug {
mod thing {
pub(super) struct Thing {
pub(super) name: String,
pub(super) indicator: usize,
}
// ---8<--- ... impl Thing here
static THANGS: [Thing; 3] = [
Thing::new(1, 'Thing 1'),
@theangryangel
theangryangel / README.md
Last active May 19, 2025 11:45
pyinsim9 example using uv on Windows

setup uv

uv is an extremely fast Python package and project manager for Python. Highly recommend that you use uv.

winget install -e --id astral-sh.uv

setup git

winget install -e --id Git.Git