ckb-types 0.119.0

Provides the essential types for CKB.
Documentation
1
2
3
4
5
6
7
8
9
macro_rules! impl_conversion_for_entity_unpack {
    ($original:ty, $entity:ident) => {
        impl Unpack<$original> for packed::$entity {
            fn unpack(&self) -> $original {
                self.as_reader().unpack()
            }
        }
    };
}