tavern_keeper/src/entity.rs

6 lines
90 B
Rust
Raw Normal View History

2022-12-31 14:22:44 +00:00
pub trait Entity {
fn id(&self) -> Option<u32>;
fn set_id(&mut self, id: u32);
}