Function unixNew [src]
Returns a Permissions struct representing the permissions from the passed mode.
Prototype
pub fn unixNew(new_mode: Mode) Self
Parameters
new_mode: Mode
Source
pub fn unixNew(new_mode: Mode) Self {
return Self{
.mode = new_mode,
};
}