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