Struct lldb::Permissions [] [src]

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

Methods

impl Permissions
[src]

WRITABLE: Permissions = Permissions{bits: 1,}

READABLE: Permissions = Permissions{bits: 2,}

EXECUTABLE: Permissions = Permissions{bits: 4,}

[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<Permissions> for Permissions
[src]

[src]

Returns the set difference of the two sets of flags.

impl Clone for Permissions
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for Permissions
[src]

impl Not for Permissions
[src]

[src]

Returns the complement of this set of flags.

impl Octal for Permissions
[src]

[src]

impl BitXor<Permissions> for Permissions
[src]

[src]

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

impl BitOr<Permissions> for Permissions
[src]

[src]

Returns the union of the two sets of flags.

impl Debug for Permissions
[src]

[src]

Formats the value using the given formatter.

impl BitOrAssign<Permissions> for Permissions
[src]

[src]

Adds the set of flags.

impl Eq for Permissions
[src]

impl PartialEq<Permissions> for Permissions
[src]

[src]

[src]

impl SubAssign<Permissions> for Permissions
[src]

[src]

Disables all flags enabled in the set.

impl Hash for Permissions
[src]

[src]

impl UpperHex for Permissions
[src]

[src]

impl BitAnd<Permissions> for Permissions
[src]

[src]

Returns the intersection between the two sets of flags.

impl BitXorAssign<Permissions> for Permissions
[src]

[src]

Toggles the set of flags.

impl BitAndAssign<Permissions> for Permissions
[src]

[src]

Disables all flags disabled in the set.

impl PartialOrd<Permissions> for Permissions
[src]

[src]

[src]

[src]

[src]

[src]

impl Ord for Permissions
[src]

[src]

impl Extend<Permissions> for Permissions
[src]

[src]

impl Binary for Permissions
[src]

[src]

impl LowerHex for Permissions
[src]

[src]

impl FromIterator<Permissions> for Permissions
[src]

[src]