Trait enso_flexer::prelude::logger::prelude::Wrap[][src]

pub trait Wrap: HasSizedContent {
    fn wrap(t: Self::Content) -> Self;
}
Expand description

Wrapping utility for values.

Required methods

fn wrap(t: Self::Content) -> Self[src]

Expand description

Wraps the value and returns the wrapped type.

Loading content...

Implementations on Foreign Types

impl Wrap for String[src]

pub fn wrap(t: char) -> String[src]

impl<T> Wrap for Vec<T, Global>[src]

pub fn wrap(t: T) -> Vec<T, Global>

Notable traits for Vec<u8, A>

impl<A> Write for Vec<u8, A> where
    A: Allocator
[src]

Loading content...

Implementors

impl<T> Wrap for Rc<T>[src]

pub fn wrap(t: T) -> Rc<T>[src]

Loading content...