impl_deref

Macro impl_deref 

Source
macro_rules! impl_deref {
    ($ty:ty,$target:ty) => { ... };
}
Expand description

Implements the Deref trait for transparent access to an inner type.

This macro generates a Deref implementation that allows transparent access to the inner value of wrapper types.