Trait email_address_list::Contactsish
source · pub trait Contactsish {
// Required methods
fn len(&self) -> usize;
fn is_empty(&self) -> bool;
fn to_contacts(self) -> Contacts;
fn add<C>(&mut self, contact: C)
where C: Contactish;
fn contains(&self, contact: &Contact) -> bool;
}
Expand description
For everything that has contacts
Required Methods§
fn len(&self) -> usize
fn is_empty(&self) -> bool
fn to_contacts(self) -> Contacts
fn add<C>(&mut self, contact: C)where
C: Contactish,
fn contains(&self, contact: &Contact) -> bool
Object Safety§
This trait is not object safe.