Skip to content

Make all Nix libc wrapper types repr(transparent)/From<libc::xx>/Into<libc::xx> #2327

Open
@SteveLauC

Description

As described in this comment, all the Nix wrapper types should be:

  1. #[repr(transparent)]
  2. impl From<libc::xx> for Wrapper
  3. impl From<Wrapper> for libc::xx

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions