Module nix::macros

source ยท

Macrosยง

  • feature ๐Ÿ”’
  • libc_bitflags ๐Ÿ”’
    The libc_bitflags! macro helps with a common use case of defining a public bitflags type with values from the libc crate. It is used the same way as the bitflags! macro, except that only the name of the flag value has to be given.
  • libc_enum ๐Ÿ”’
    The libc_enum! macro helps with a common use case of defining an enum exclusively using values from the libc crate. This macro supports both pub and private enums.