Struct linefeed::terminal::SignalSet
[−]
[src]
pub struct SignalSet(_);
Contains a set of signals
Methods
impl SignalSet
[src]
fn new() -> SignalSet
[src]
Returns an empty SignalSet
.
fn contains(&self, signal: Signal) -> bool
[src]
Returns whether the given Signal
is contained in the set.
fn insert(&mut self, signal: Signal)
[src]
Inserts the given Signal
into the set.
fn remove(&mut self, signal: Signal)
[src]
Removes the given Signal
from the set.
fn intersection(&self, other: &SignalSet) -> SignalSet
[src]
Returns the intersection of the two sets.
fn union(&self, other: &SignalSet) -> SignalSet
[src]
Returns the union of the two sets.
Trait Implementations
impl Clone for SignalSet
[src]
fn clone(&self) -> SignalSet
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for SignalSet
[src]
impl Eq for SignalSet
[src]
impl PartialEq for SignalSet
[src]
fn eq(&self, __arg_0: &SignalSet) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &SignalSet) -> bool
[src]
This method tests for !=
.