Struct mortal::signal::SignalSet [] [src]

pub struct SignalSet(_);

Represents a set of Signal values

Methods

impl SignalSet
[src]

[src]

Returns an empty SignalSet.

[src]

Returns a SignalSet containing all available signals.

[src]

Returns whether this set contains the given Signal.

[src]

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

[src]

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

[src]

Returns whether this set contains any signals.

[src]

Inserts a Signal into this set.

[src]

Removes a Signal from this set.

[src]

Sets whether this set contains the given Signal.

[src]

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.

[src]

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.

[src]

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.

[src]

Returns the union of two sets.

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

This is equivalent to self | other.

[src]

Returns the inverse of the set.

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

This is equivalent to !self.

Trait Implementations

impl Copy for SignalSet
[src]

impl Clone for SignalSet
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Default for SignalSet
[src]

[src]

Returns the "default value" for a type. Read more

impl Eq for SignalSet
[src]

impl PartialEq for SignalSet
[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 SignalSet
[src]

[src]

Formats the value using the given formatter. Read more

impl From<Signal> for SignalSet
[src]

[src]

Performs the conversion.

impl Extend<Signal> for SignalSet
[src]

[src]

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

impl FromIterator<Signal> for SignalSet
[src]

[src]

Creates a value from an iterator. Read more

impl BitAnd for SignalSet
[src]

The resulting type after applying the & operator.

[src]

Performs the & operation.

impl BitOr for SignalSet
[src]

The resulting type after applying the | operator.

[src]

Performs the | operation.

impl BitXor for SignalSet
[src]

The resulting type after applying the ^ operator.

[src]

Performs the ^ operation.

impl Sub for SignalSet
[src]

The resulting type after applying the - operator.

[src]

Performs the - operation.

impl Not for SignalSet
[src]

The resulting type after applying the ! operator.

[src]

Performs the unary ! operation.

impl BitAndAssign for SignalSet
[src]

[src]

Performs the &= operation.

impl BitOrAssign for SignalSet
[src]

[src]

Performs the |= operation.

impl BitXorAssign for SignalSet
[src]

[src]

Performs the ^= operation.

impl SubAssign for SignalSet
[src]

[src]

Performs the -= operation.

Auto Trait Implementations

impl Send for SignalSet

impl Sync for SignalSet