Skip to main content

derive_deftly_template_RawConversions

Macro derive_deftly_template_RawConversions 

Source
macro_rules! derive_deftly_template_RawConversions {
    ({ $($driver:tt)* } [$($aoptions:tt)*] ($($future:tt)*) $($tpassthrough:tt)*) => { ... };
    ($($wrong:tt)*) => { ... };
}
Expand description

Define as_raw and from_raw methods (for a struct with a single field)

This is a derive_deftly template. Do not invoke it directly. To use it, write: #[derive(Deftly)] #[derive_deftly(RawConversions)].