Skip to main content

beve_transparent

Macro beve_transparent 

Source
macro_rules! beve_transparent {
    (write_only :: $($t:tt)*) => { ... };
    (read_only $($t:tt)*) => { ... };
    (write_only $($t:tt)*) => { ... };
    ($($t:tt)*) => { ... };
}
Expand description

Declare a one-field struct as that field alone, for BEVE only.

The counterpart of json_transparent!, and what a wrapper around a borrowed &[u8] needs.