[][src]Struct melib::email::address::StrBuilder

pub struct StrBuilder {
    pub offset: usize,
    pub length: usize,
}

Helper struct to return slices from a struct field on demand.

Fields

offset: usizelength: usize

Implementations

impl StrBuilder[src]

pub fn display<'a>(&self, s: &'a [u8]) -> String[src]

pub fn display_bytes<'a>(&self, b: &'a [u8]) -> &'a [u8][src]

Trait Implementations

impl Clone for StrBuilder[src]

impl Copy for StrBuilder[src]

impl Debug for StrBuilder[src]

impl Default for StrBuilder[src]

impl<'de> Deserialize<'de> for StrBuilder[src]

impl Eq for StrBuilder[src]

impl PartialEq<StrBuilder> for StrBuilder[src]

impl Serialize for StrBuilder[src]

impl StructuralEq for StrBuilder[src]

impl StructuralPartialEq for StrBuilder[src]

Auto Trait Implementations

impl RefUnwindSafe for StrBuilder

impl Send for StrBuilder

impl Sync for StrBuilder

impl Unpin for StrBuilder

impl UnwindSafe for StrBuilder

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]