Struct mux::Dtab
[−]
[src]
pub struct Dtab { pub entries: Vec<Dentry>, }
Delegate table.
Fields
entries: Vec<Dentry>
Methods
impl Dtab
[src]
fn new() -> Dtab
Create a new, empty Dtab
.
fn from_entries(entries: Vec<Dentry>) -> Dtab
Create a new Dtab
containing the Dentry
s.
fn add_entry(&mut self, key: String, value: String) -> &Self
Add an entry to this Dtab
.
Trait Implementations
impl PartialEq for Dtab
[src]
fn eq(&self, __arg_0: &Dtab) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Dtab) -> bool
This method tests for !=
.