borrowize 0.3.0

Derive borrowed view structs from owned Rust structs.
Documentation
1
2
3
4
5
6
7
8
9
use borrowize::View;

#[derive(View)]
#[borrowize(no_method, method_name = "as_view")]
struct Bad {
    value: String,
}

fn main() {}