#![cfg(feature ="derive")]usecib::Cib;#[derive(Clone, PartialEq, Debug, Cib)]structD(u32);#[test]fnderive_creates_impls(){let a = D(3);let b = D(4);// Using Cib<D> for owned and &D for borrowed
assert_eq!(a.cib(), D(3));assert_eq!((&b).cib(), D(4));}