Struct lrs::file::Mode

The permissions of a file.

Syntax

struct Mode(u16)

Fields

PositionDescription
1

Methods

ReceiverNameDescription
&selfis_set

Returns whether a mode is set.

&mut selfset

Sets a mode.

&mut selfunset

Clears a mode.

Trait implementations

NameDescription
BitAnd

Objects that implement the binary & operator.

BitOr

Objects that implement the binary | operator.

Clone

Objects that can be duplicated.

Copy

Objects that can safely be copied via memcpy.

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 == and != operators.

MaybeClone

Objects that can be duplicated.

Not

Objects that implement the unary ! operator.

Parsable

Types that are parsable.

Pod

Objects that are safe to use if they contain a random bit pattern.