The permissions of a file.
struct Mode(u16)
| Position | Description |
|---|---|
| 1 |
| Receiver | Name | Description |
|---|---|---|
&self | is_set | Returns whether a mode is set. |
&mut self | set | Sets a mode. |
&mut self | unset | Clears a mode. |
| Name | Description |
|---|---|
| BitAnd | Objects that implement the binary |
| BitOr | Objects that implement the binary |
| Clone | Objects that can be duplicated. |
| Copy | Objects that can safely be copied via |
| Debug | Objects that can be formatted in a "debug" form. |
| Display | Objects that can be formatted in a "display" form. |
| Eq | Objects that implement the binary |
| MaybeClone | Objects that can be duplicated. |
| Not | Objects that implement the unary |
| Parsable | Types that are parsable. |
| Pod | Objects that are safe to use if they contain a random bit pattern. |