Struct linefeed::terminal::SignalSet[][src]

pub struct SignalSet(_);

Represents a set of Signal values

Methods

impl SignalSet
[src]

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

impl BitAnd<SignalSet> for SignalSet
[src]

The resulting type after applying the & operator.

Performs the & operation.

impl Extend<Signal> for SignalSet
[src]

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

impl Sub<SignalSet> for SignalSet
[src]

The resulting type after applying the - operator.

Performs the - operation.

impl Clone for SignalSet
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for SignalSet
[src]

Formats the value using the given formatter. Read more

impl From<Signal> for SignalSet
[src]

Performs the conversion.

impl BitOr<SignalSet> for SignalSet
[src]

The resulting type after applying the | operator.

Performs the | operation.

impl FromIterator<Signal> for SignalSet
[src]

Creates a value from an iterator. Read more

impl Default for SignalSet
[src]

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

impl SubAssign<SignalSet> for SignalSet
[src]

Performs the -= operation.

impl BitXor<SignalSet> for SignalSet
[src]

The resulting type after applying the ^ operator.

Performs the ^ operation.

impl Copy for SignalSet
[src]

impl BitAndAssign<SignalSet> for SignalSet
[src]

Performs the &= operation.

impl Eq for SignalSet
[src]

impl PartialEq<SignalSet> for SignalSet
[src]

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

This method tests for !=.

impl BitXorAssign<SignalSet> for SignalSet
[src]

Performs the ^= operation.

impl Not for SignalSet
[src]

The resulting type after applying the ! operator.

Performs the unary ! operation.

impl BitOrAssign<SignalSet> for SignalSet
[src]

Performs the |= operation.

Auto Trait Implementations

impl Send for SignalSet

impl Sync for SignalSet