Crate natural_derive
source ·Expand description
Proc macros for naturally deriving basic trait impls for new types, i.e. respecting the structure and semantics of the inner type.
Derive Macros
Derive macro generating an impl of the trait
std::ops::Add
for a new type.Derive macro generating an impl of the trait
std::ops::AddAssign
for a new type.Derive macro generating an impl of the trait
std::ops::Div
for a new type.Derive macro generating an impl of the trait
std::ops::DivAssign
for a new type.Derive macro generating an impl of the trait
std::ops::DivAssign
for a new type.Derive macro generating an impl of the trait
std::ops::Div
for a new type.Derive macro generating an impl of the trait
std::convert::From
for a new type.Derive macro generating an impl with a associated
inner
function for a new type.Derive macro generating an impl of the trait
std::ops::Mul
for a new type.Derive macro generating an impl of the trait
std::ops::MulAssign
for a new type.Derive macro generating an impl of the trait
std::ops::MulAssign
for a new type.Derive macro generating an impl of the trait
std::ops::Mul
for a new type.Derive macro generating an impl with a associated
new
function for a new type.Derive macro generating an impl of the trait
std::ops::Rem
for a new type.Derive macro generating an impl of the trait
std::ops::RemAssign
for a new type.Derive macro generating an impl of the trait
std::ops::RemAssign
for a new type.Derive macro generating an impl of the trait
std::ops::Rem
for a new type.Derive macro generating an impl of the trait
std::ops::Sub
for a new type.Derive macro generating an impl of the trait
std::ops::SubAssign
for a new type.