Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Packet trait for custom fields of constant size #98

Merged
merged 1 commit into from
May 14, 2024

Conversation

hchataing
Copy link
Collaborator

The PDL source

custom_field Test : 32 "test"

will now generate impl Packet

pub struct Test(u32);
impl Packet for Test {
}

The PDL source
```
custom_field Test : 32 "test"
```

will now generate impl Packet
```
pub struct Test(u32);
impl Packet for Test {
}
```
@hchataing hchataing merged commit a275027 into main May 14, 2024
8 checks passed
@hchataing hchataing deleted the rust-custom-field branch May 14, 2024 23:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants