diff options
| author | Tobias Deiminger <tdmg@linutronix.de> | 2024-04-16 22:06:31 +0200 |
|---|---|---|
| committer | Max Audron <audron@cocaine.farm> | 2025-02-25 00:10:39 +0100 |
| commit | 14bce9f885ecfb4a0309a7aa398db033f1cc542e (patch) | |
| tree | 8423c7c46f9b062c37e44c6edd0c8416611fff5a /src/primitive/mod.rs | |
| parent | Use MsgId in Message (diff) | |
Add BufferId as Rust type
Up to now it was represented as i32. If we introduce a newtype for it,
we can handle it idiomatically as dedicated Variant::BufferId variant
(instead of having it mashed into Variant::UserType).
Diffstat (limited to 'src/primitive/mod.rs')
| -rw-r--r-- | src/primitive/mod.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/primitive/mod.rs b/src/primitive/mod.rs index dbc4a58..67bb2ac 100644 --- a/src/primitive/mod.rs +++ b/src/primitive/mod.rs @@ -1,3 +1,4 @@ +mod bufferid; mod bufferinfo; mod datetime; mod message; @@ -10,6 +11,7 @@ mod variant; mod variantlist; mod variantmap; +pub use bufferid::*; pub use bufferinfo::*; pub use datetime::*; pub use message::*; |
