Enum genco::Cons
[−]
[src]
pub enum Cons<'el> {
Borrowed(&'el str),
Owned(String),
Rc(Rc<String>),
}A managed string that permits immutable borrowing.
Variants
Borrowed(&'el str)A borrowed string.
Owned(String)An owned string (deprecate?)
Rc(Rc<String>)A refcounted string.
Trait Implementations
impl<'el> Quoted<'el> for Cons<'el>[src]
impl<'el> Debug for Cons<'el>[src]
impl<'el> Clone for Cons<'el>[src]
fn clone(&self) -> Cons<'el>[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<'el> PartialEq for Cons<'el>[src]
fn eq(&self, __arg_0: &Cons<'el>) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &Cons<'el>) -> bool[src]
This method tests for !=.