Macro newtype_derive_2018::NewtypeDebug
source · [−]macro_rules! NewtypeDebug {
(($(where $($bound:tt)*)?) $vis:vis struct $name:ident $($token:tt)+) => { ... };
}
Expand description
Derives Debug
trait implementation for newtype
wrappers (i.e. tuple structs with a single non-zero sized element).
Accepts input in the following form:
ⓘ
($(where $($bound:tt)*)?)
$vis:vis struct $name:ident $(<$generics> $(where $where_clause)?)? (
$(pub)? $t0:ty $(, $(pub)? $phantom:ty)* $(,)?
);