Struct rkv::WriteFlags [] [src]

pub struct WriteFlags { /* fields omitted */ }

Write Options

Methods

impl WriteFlags
[src]

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

[src]

impl Copy for WriteFlags
[src]

impl Hash for WriteFlags
[src]

[src]

impl Not for WriteFlags
[src]

[src]

Returns the complement of this set of flags.

impl Clone for WriteFlags
[src]

[src]

impl BitXor<WriteFlags> for WriteFlags
[src]

[src]

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

impl BitOr<WriteFlags> for WriteFlags
[src]

[src]

Returns the union of the two sets of flags.

impl BitOrAssign<WriteFlags> for WriteFlags
[src]

[src]

Adds the set of flags.

impl Octal for WriteFlags
[src]

[src]

impl BitAndAssign<WriteFlags> for WriteFlags
[src]

[src]

Disables all flags disabled in the set.

impl PartialEq<WriteFlags> for WriteFlags
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Debug for WriteFlags
[src]

[src]

Formats the value using the given formatter.

impl Extend<WriteFlags> for WriteFlags
[src]

[src]

impl SubAssign<WriteFlags> for WriteFlags
[src]

[src]

Disables all flags enabled in the set.

impl BitAnd<WriteFlags> for WriteFlags
[src]

[src]

Returns the intersection between the two sets of flags.

impl BitXorAssign<WriteFlags> for WriteFlags
[src]

[src]

Toggles the set of flags.

impl UpperHex for WriteFlags
[src]

[src]

impl Eq for WriteFlags
[src]

impl Binary for WriteFlags
[src]

[src]

impl FromIterator<WriteFlags> for WriteFlags
[src]

[src]

impl LowerHex for WriteFlags
[src]

[src]

impl Sub<WriteFlags> for WriteFlags
[src]

[src]

Returns the set difference of the two sets of flags.

impl PartialOrd<WriteFlags> for WriteFlags
[src]

[src]

[src]

[src]

[src]

[src]