macro_rules! view_type { ($($arg:tt)*) => { ... }; }
view_type_macro
Creates a view type.
#![feature(view_types, view_type_macro)] struct Foo { bar: usize, baz: u32, } type FooBar = std::view::view_type!(Foo.{ bar });