Derive Macro escher::Rebindable[][src]

#[derive(Rebindable)]

This trait can be derived for any struct, enum, or union to make its lifetimes rebindable and thus compatible with the Rebind type level function.

use escher::Rebindable;

#[derive(Rebindable)]
struct VecStr<'this> {
    data: &'this Vec<u8>,
    s: &'this str,
}