Skip to main content

derive_deftly_template_PartialEqFromCtEq

Macro derive_deftly_template_PartialEqFromCtEq 

Source
macro_rules! derive_deftly_template_PartialEqFromCtEq {
    ({ $($driver:tt)* } [$($aoptions:tt)*] ($($future:tt)*) $($tpassthrough:tt)*) => { ... };
    ($($wrong:tt)*) => { ... };
}
Expand description

Derives core::cmp::PartialEq on types which implement subtle::ConstantTimeEq by calling subtle::ConstantTimeEq::ct_eq.

This is a derive_deftly template. Do not invoke it directly. To use it, write: #[derive(Deftly)] #[derive_deftly(PartialEqFromCtEq)].