#[repr(transparent)] for ModeFlags

This commit is contained in:
semiviral 2023-04-02 06:15:42 -05:00
parent 48bec03dfe
commit c8c12e7c0b

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.