pub struct SignalSet(_);
Expand description

Represents a set of Signal values

Implementations

Returns an empty SignalSet.

Returns a SignalSet containing all available signals.

Returns whether this set contains the given Signal.

Returns whether this set contains all signals present in another set.

Returns whether this set contains any signals present in another set.

Returns whether this set contains any signals.

Inserts a Signal into this set.

Removes a Signal from this set.

Sets whether this set contains the given Signal.

Returns the difference of two sets.

The result is all signals contained in self, except for those also contained in other.

This is equivalent to self - other or self & !other.

Returns the symmetric difference of two sets.

The result is all signals contained in either set, but not those contained in both.

This is equivalent to self ^ other.

Returns the intersection of two sets.

The result is all signals contained in both sets, but not those contained in either one or the other.

This is equivalent to self & other.

Returns the union of two sets.

The result is all signals contained in either or both sets.

This is equivalent to self | other.

Returns the inverse of the set.

The result is all valid signals not contained in this set.

This is equivalent to !self.

Trait Implementations

The resulting type after applying the & operator.

Performs the & operation. Read more

Performs the &= operation. Read more

The resulting type after applying the | operator.

Performs the | operation. Read more

Performs the |= operation. Read more

The resulting type after applying the ^ operator.

Performs the ^ operation. Read more

Performs the ^= operation. 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

Extends a collection with the contents of an iterator. Read more

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

Extends a collection with exactly one element.

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

Reserves capacity in a collection for the given number of additional elements. Read more

Performs the conversion.

Creates a value from an iterator. Read more

The resulting type after applying the ! operator.

Performs the unary ! operation. Read more

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

This method tests for !=.

The resulting type after applying the - operator.

Performs the - operation. Read more

Performs the -= operation. Read more

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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

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.