`#[repr(transparent)]` for `ModeFlags`
parent
48bec03dfe
commit
c8c12e7c0b
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue