mirror of
https://github.com/a2x/cs2-dumper.git
synced 2026-04-17 16:39:58 +08:00
Handle empty names and duplicate values in Rust generator
This commit is contained in:
@@ -40,11 +40,8 @@ impl<'a> Item<'a> {
|
||||
|
||||
trait CodeWriter {
|
||||
fn write_cs(&self, fmt: &mut Formatter<'_>) -> fmt::Result;
|
||||
|
||||
fn write_hpp(&self, fmt: &mut Formatter<'_>) -> fmt::Result;
|
||||
|
||||
fn write_json(&self, fmt: &mut Formatter<'_>) -> fmt::Result;
|
||||
|
||||
fn write_rs(&self, fmt: &mut Formatter<'_>) -> fmt::Result;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user