casey / casey/x-serialization-format

Generate view type accessors

Open
#80 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
1
Forks
1
PR merge metrics
No merged PRs in 30d

Description

view types should expose accessors that return the native type.

```
struct Foo {
x: u16
}

struct FooView {
x: ::View,
}

impl FooView {
fn x(&self) -> u16 {
self.x.to_native()
}
}
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.