FlatBox

Type Alias FlatBox 

Source
pub type FlatBox<T> = FlatDrop<Box<T>>;

Aliased Type§

pub struct FlatBox<T>(/* private fields */);

Implementations§

Source§

impl<T> FlatBox<T>
where T: Recursive<Container = Box<T>>,

Source

pub fn unbox(self) -> T

Source§

impl<T> FlatBox<T>
where T: Recursive<Container = Box<T>>,

Source

pub fn new_boxed(value: T) -> Self

Trait Implementations§

Source§

impl<T> From<T> for FlatBox<T>
where T: Recursive<Container = Box<T>>,

Source§

fn from(value: T) -> Self

Converts to this type from the input type.