Trait enso_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]

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

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

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

Loading content...

Implementors

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

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

Loading content...