Skip to main content

Box

Type Alias Box 

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

Aliased Type§

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

Trait Implementations§

Source§

impl<T: Clone> TryClone for Box<T>

Source§

type Error = AllocError

Source§

fn try_clone(&self) -> Result<Self, Self::Error>

Source§

impl<T> TursoBoxExt<T> for Box<T>

Source§

fn into_inner(self) -> T

Source§

impl<T> TursoFromIterator<T> for Box<[T]>

Source§

fn try_from_iter<I>(iter: I) -> Result<Self, TryReserveError>
where I: IntoIterator<Item = T>,

Source§

fn try_extend<I>(&mut self, iter: I) -> Result<(), TryReserveError>
where I: IntoIterator<Item = T>,

Source§

impl<T> TursoNewExt<T> for Box<T>

Source§

fn new(value: T) -> Self

Source§

impl<T> TursoTryNewExt<T> for Box<T>

Source§

fn try_new(value: T) -> Result<Self, AllocError>