Enum cbor::value::Text [−] [src]

pub enum Text {
    Text(String),
    Chunks(LinkedList<String>),
}

A unification of plain and indefinitly sized strings.

Variants

Text
Chunks

Trait Implementations

Derived Implementations

impl Hash for Text

fn hash<__H: Hasher>(&self, __arg_0: &mut __H)

fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher

impl Debug for Text

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl Ord for Text

fn cmp(&self, __arg_0: &Text) -> Ordering

impl Eq for Text

impl PartialOrd for Text

fn partial_cmp(&self, __arg_0: &Text) -> Option<Ordering>

fn lt(&self, __arg_0: &Text) -> bool

fn le(&self, __arg_0: &Text) -> bool

fn gt(&self, __arg_0: &Text) -> bool

fn ge(&self, __arg_0: &Text) -> bool

impl PartialEq for Text

fn eq(&self, __arg_0: &Text) -> bool

fn ne(&self, __arg_0: &Text) -> bool

impl Clone for Text

fn clone(&self) -> Text

fn clone_from(&mut self, source: &Self)