Struct lldb::FilePermissions [] [src]

#[repr(C)]
pub struct FilePermissions { /* fields omitted */ }

Methods

impl FilePermissions
[src]

WORLD_EXECUTE: FilePermissions = FilePermissions{bits: 1,}

WORLD_WRITE: FilePermissions = FilePermissions{bits: 2,}

WORLD_READ: FilePermissions = FilePermissions{bits: 4,}

GROUP_EXECUTE: FilePermissions = FilePermissions{bits: 8,}

GROUP_WRITE: FilePermissions = FilePermissions{bits: 16,}

GROUP_READ: FilePermissions = FilePermissions{bits: 32,}

USER_EXECUTE: FilePermissions = FilePermissions{bits: 64,}

USER_WRITE: FilePermissions = FilePermissions{bits: 128,}

USER_READ: FilePermissions = FilePermissions{bits: 256,}

WORLD_RX: FilePermissions = FilePermissions{bits: <Self>::WORLD_READ.bits | <Self>::WORLD_EXECUTE.bits,}

WORLD_RW: FilePermissions = FilePermissions{bits: <Self>::WORLD_READ.bits | <Self>::WORLD_WRITE.bits,}

WORLD_RWX: FilePermissions = FilePermissions{bits:
                    <Self>::WORLD_READ.bits | <Self>::WORLD_WRITE.bits |
                        <Self>::WORLD_EXECUTE.bits,}

GROUP_RX: FilePermissions = FilePermissions{bits: <Self>::GROUP_READ.bits | <Self>::GROUP_EXECUTE.bits,}

GROUP_RW: FilePermissions = FilePermissions{bits: <Self>::GROUP_READ.bits | <Self>::GROUP_WRITE.bits,}

GROUP_RWX: FilePermissions = FilePermissions{bits:
                    <Self>::GROUP_READ.bits | <Self>::GROUP_WRITE.bits |
                        <Self>::GROUP_EXECUTE.bits,}

USER_RX: FilePermissions = FilePermissions{bits: <Self>::USER_READ.bits | <Self>::USER_EXECUTE.bits,}

USER_RW: FilePermissions = FilePermissions{bits: <Self>::USER_READ.bits | <Self>::USER_WRITE.bits,}

USER_RWX: FilePermissions = FilePermissions{bits:
                    <Self>::USER_READ.bits | <Self>::USER_WRITE.bits |
                        <Self>::USER_EXECUTE.bits,}

EVERYONE_R: FilePermissions = FilePermissions{bits:
                    <Self>::WORLD_READ.bits | <Self>::GROUP_READ.bits |
                        <Self>::USER_READ.bits,}

EVERYONE_W: FilePermissions = FilePermissions{bits:
                    <Self>::WORLD_WRITE.bits | <Self>::GROUP_WRITE.bits |
                        <Self>::USER_WRITE.bits,}

EVERYONE_X: FilePermissions = FilePermissions{bits:
                    <Self>::WORLD_EXECUTE.bits | <Self>::GROUP_EXECUTE.bits |
                        <Self>::USER_EXECUTE.bits,}

EVERYONE_RW: FilePermissions = FilePermissions{bits: <Self>::EVERYONE_R.bits | <Self>::EVERYONE_W.bits,}

EVERYONE_RX: FilePermissions = FilePermissions{bits: <Self>::EVERYONE_R.bits | <Self>::EVERYONE_X.bits,}

EVERYONE_RWX: FilePermissions = FilePermissions{bits:
                    <Self>::EVERYONE_R.bits | <Self>::EVERYONE_W.bits |
                        <Self>::EVERYONE_X.bits,}

FILE_DEFAULT: FilePermissions = FilePermissions{bits: <Self>::USER_RW.bits,}

DIRECTORY_DEFAULT: FilePermissions = FilePermissions{bits: <Self>::USER_RWX.bits,}

[src]

Returns an empty set of flags.

[src]

Returns the set containing all flags.

[src]

Returns the raw value of the flags currently stored.

[src]

Convert from underlying bit representation, unless that representation contains bits that do not correspond to a flag.

[src]

Convert from underlying bit representation, dropping any bits that do not correspond to flags.

[src]

Returns true if no flags are currently stored.

[src]

Returns true if all flags are currently set.

[src]

Returns true if there are flags common to both self and other.

[src]

Returns true all of the flags in other are contained within self.

[src]

Inserts the specified flags in-place.

[src]

Removes the specified flags in-place.

[src]

Toggles the specified flags in-place.

[src]

Inserts or removes the specified flags depending on the passed value.

Trait Implementations

impl Sub<FilePermissions> for FilePermissions
[src]

[src]

Returns the set difference of the two sets of flags.

impl Clone for FilePermissions
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for FilePermissions
[src]

impl Not for FilePermissions
[src]

[src]

Returns the complement of this set of flags.

impl Octal for FilePermissions
[src]

[src]

impl BitXor<FilePermissions> for FilePermissions
[src]

[src]

Returns the left flags, but with all the right flags toggled.

impl BitOr<FilePermissions> for FilePermissions
[src]

[src]

Returns the union of the two sets of flags.

impl Debug for FilePermissions
[src]

[src]

Formats the value using the given formatter.

impl BitOrAssign<FilePermissions> for FilePermissions
[src]

[src]

Adds the set of flags.

impl Eq for FilePermissions
[src]

impl PartialEq<FilePermissions> for FilePermissions
[src]

[src]

[src]

impl SubAssign<FilePermissions> for FilePermissions
[src]

[src]

Disables all flags enabled in the set.

impl Hash for FilePermissions
[src]

[src]

impl UpperHex for FilePermissions
[src]

[src]

impl BitAnd<FilePermissions> for FilePermissions
[src]

[src]

Returns the intersection between the two sets of flags.

impl BitXorAssign<FilePermissions> for FilePermissions
[src]

[src]

Toggles the set of flags.

impl BitAndAssign<FilePermissions> for FilePermissions
[src]

[src]

Disables all flags disabled in the set.

impl PartialOrd<FilePermissions> for FilePermissions
[src]

[src]

[src]

[src]

[src]

[src]

impl Ord for FilePermissions
[src]

[src]

impl Extend<FilePermissions> for FilePermissions
[src]

[src]

impl Binary for FilePermissions
[src]

[src]

impl LowerHex for FilePermissions
[src]

[src]

impl FromIterator<FilePermissions> for FilePermissions
[src]

[src]