Macro delegate_newtype_of_foster_bytestr

Source
macro_rules! delegate_newtype_of_foster_bytestr {
    ( $type:ty ) => { ... };
}
Expand description

Delegates traits to a FosterByteStr newtype.

Example:

#[derive(Clone, Debug)]
pub struct MyType(FosterByteStr);

delegate_newtype_of_foster_bytestr!(MyType);