Struct lrs::signal::Sigset

A set of signals.

Syntax

struct Sigset {
    /* private fields */
}

Static methods

NameDescription
new

Creates a new empty set.

Methods

ReceiverNameDescription
&selfall_set

Returns whether this set is a superset of another set.

&mut selfclear

Removes all signals from the set.

&selfdisjoint

Returns whether this set and another set are disjoint.

&mut selffill

Adds all signals to the set.

&selfis_set

Returns whether a signal is in the set.

&mut selfset

Adds a signal to the set.

&mut selfset_all

Adds all signals from another set to this set.

&mut selfunset

Removes a signal from the set.

&mut selfunset_all

Removes all signals in another set from this set.

Trait implementations

NameDescription
Clone

Objects that can be duplicated.

Copy

Objects that can safely be copied via memcpy.

Debug

Objects that can be formatted in a "debug" form.

Eq

Objects that implement the binary == and != operators.

MaybeClone

Objects that can be duplicated.

Pod

Objects that are safe to use if they contain a random bit pattern.