[][src]Trait as_any::IntoBox

pub trait IntoBox<A: ?Sized + UncheckedAnyExt>: AsAny {
    fn into_box(self) -> Box<A>;
}

A trait for the conversion of an object into a boxed trait object.

Required methods

fn into_box(self) -> Box<A>

Convert self into the appropriate boxed form.

Loading content...

Implementors

impl<T: AsAny + Send + Sync> IntoBox<dyn AsAny + 'static + Send + Sync> for T[src]

impl<T: AsAny + Send> IntoBox<dyn AsAny + 'static + Send> for T[src]

impl<T: AsAny + Sync> IntoBox<dyn AsAny + 'static + Sync> for T[src]

impl<T: AsAny> IntoBox<dyn AsAny + 'static> for T[src]

Loading content...