[][src]Trait melib::email::address::StrBuild

pub trait StrBuild {
    fn new(string: &[u8], slice: &[u8]) -> Self;
fn raw(&self) -> &[u8];
fn val(&self) -> &[u8]; }

Structs implementing this trait must contain a StrBuilder field.

Required methods

fn new(string: &[u8], slice: &[u8]) -> Self

Create a new Self out of a string and a slice

fn raw(&self) -> &[u8]

Get the slice part of the string

fn val(&self) -> &[u8]

Get the entire string as a slice

Loading content...

Implementors

impl StrBuild for MessageID[src]

Loading content...