Skip to main content

view_wrapper

Macro view_wrapper 

Source
macro_rules! view_wrapper {
    ($(#[$meta:meta])* $name:ident, $inner:ty) => { ... };
}
Expand description

Defines a nominal mutable scratch view over a backend-borrowed layout.

The wrapper gives projected backend buffer types a distinct identity for trait coherence while forwarding the common layout metadata and deref surface to the wrapped value.