Crate castflip_derive

Crate castflip_derive 

Source
Expand description

This crate provides three derive macros for crate castflip.

Please refer to the documentation of castflip at https://docs.rs/castflip/ for more information.

Derive Macrosยง

Cast
Declares that the succeeding struct or union type is encastable / decastable.
Flip
Declares that the succeeding struct type is endian-flippable.
NopFlip
Declares that the succeeding struct or union type is is marked as endian-flippable but the implemented operation is Nop (No operation).