`#[repr(transparent)]` for `ModeFlags`

main
semiviral 2023-04-02 06:15:42 -05:00
parent 48bec03dfe
commit c8c12e7c0b
1 changed files with 1 additions and 0 deletions

View File

@ -253,6 +253,7 @@ pub enum TypeFlag {
bitflags::bitflags! {
/// UNIX file permissions on octal format.
#[repr(transparent)]
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
pub struct ModeFlags: u64 {
/// Set UID on execution.