Struct bitsetium::Complement[][src]

#[repr(transparent)]
pub struct Complement<T>(pub T);
Expand description

Bit-set wrapper that acts like set complement.

Effectively inverses all bits in the underlying bit-set.

Tuple Fields

0: T

Implementations

Convenience function to unwrap double Complement wrapper which must yield bitset with same bits set.

Trait Implementations

Returns bit-set has bits set for each index that has bit set in exactly one of two arguments.

Returns bit-set has bits set for each index that has bit set in exactly one of two arguments.

Returns bit-set has bits set for each index that has bit set in exactly one of two arguments.

Returns bit-set has bits set for each index that has bit set in exactly one of two arguments.

Returns bit-set has bits set for each index that has bit set in exactly one of two arguments.

Returns bit-set has bits set for each index that has bit set in exactly one of two arguments.

Returns bit-set has bits set for each index that has bit set in exactly one of two arguments.

Returns bit-set has bits set for each index that has bit set in exactly one of two arguments.

Returns bit-set has bits set for each index that has bit set in exactly one of two arguments.

Returns bit-set has bits set for each index that has bit set in exactly one of two arguments.

Returns bit-set has bits set for each index that has bit set in exactly one of two arguments.

Returns bit-set has bits set for each index that has bit set in exactly one of two arguments.

Returns true if self is disjoint with rhs.

Returns true if self is disjoint with rhs.

Returns true if self is disjoint with rhs.

Returns true if self is disjoint with rhs.

Returns true if self is disjoint with rhs.

Returns true if self is disjoint with rhs.

Returns true if self is disjoint with rhs.

Returns true if self is disjoint with rhs.

Returns true if self is disjoint with rhs.

Returns true if self is disjoint with rhs.

Returns true if self is disjoint with rhs.

Returns true if self is disjoint with rhs.

Returns empty bitset for which all bits are unset.

Returns full bitset for which all bits are set.

Returns bit-set with bits set for each index that has bit set in either of two arguments.

Returns bit-set with bits set for each index that has bit set in either of two arguments.

Returns bit-set with bits set for each index that has bit set in either of two arguments.

Returns bit-set with bits set for each index that has bit set in either of two arguments.

Returns bit-set with bits set for each index that has bit set in either of two arguments.

Returns bit-set with bits set for each index that has bit set in either of two arguments.

Returns bit-set with bits set for each index that has bit set in either of two arguments.

Returns bit-set with bits set for each index that has bit set in either of two arguments.

Returns bit-set with bits set for each index that has bit set in either of two arguments.

Returns bit-set with bits set for each index that has bit set in either of two arguments.

Returns bit-set with bits set for each index that has bit set in either of two arguments.

Returns bit-set with bits set for each index that has bit set in either of two arguments.

Searches for first bit set starting with lower_bound. Returns index of first bit set. Read more

Searches for bit set specified range. Returns index of bit set. Read more

Set bit at specified index. Read more

Sets bit at specified index. Read more

Largest possible bit index that can be set. Any larger index will always be unset. Setting larger index is now allowed. Read more

Returns true if self is subset of rhs.

Returns true if self is subset of rhs.

Returns true if self is subset of rhs.

Returns true if self is subset of rhs.

Returns true if self is subset of rhs.

Returns true if self is subset of rhs.

Returns true if self is subset of rhs.

Returns true if self is subset of rhs.

Returns true if self is subset of rhs.

Returns true if self is subset of rhs.

Returns true if self is subset of rhs.

Tests if bit at specified index is set.

Tests if all bits are set.

Tests if none bits is set.

Returns bit-set with bits set for each index that has bit set in both of two arguments.

Returns bit-set with bits set for each index that has bit set in both of two arguments.

Returns bit-set with bits set for each index that has bit set in both of two arguments.

Returns bit-set with bits set for each index that has bit set in both of two arguments.

Returns bit-set with bits set for each index that has bit set in both of two arguments.

Returns bit-set with bits set for each index that has bit set in both of two arguments.

Returns bit-set with bits set for each index that has bit set in both of two arguments.

Returns bit-set with bits set for each index that has bit set in both of two arguments.

Returns bit-set with bits set for each index that has bit set in both of two arguments.

Returns bit-set with bits set for each index that has bit set in both of two arguments.

Returns bit-set with bits set for each index that has bit set in both of two arguments.

Returns bit-set with bits set for each index that has bit set in both of two arguments.

Unsets bit at specified index. Read more

Unsets bit at specified index. Read more

Largest possible bit index that can be unset. Any larger index will always be set. Unsetting larger index is now allowed. Read more

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Formats the value using the given formatter. Read more

Feeds this value into the given Hasher. Read more

Feeds a slice of this type into the given Hasher. Read more

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

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.