Trait Place

Source
pub trait Place<'t, T> {
    // Required method
    fn place(loaned: LoanedMut<'t, T>, place: &'t mut Self);
}
Expand description

Types that can be written into with Loaned::place and LoanedMut::place.

Required Methods§

Source

fn place(loaned: LoanedMut<'t, T>, place: &'t mut Self)

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl<'t, T> Place<'t, T> for Option<T>

Source§

fn place(loaned: LoanedMut<'t, T>, place: &'t mut Self)

Source§

impl<'t, T> Place<'t, T> for MaybeUninit<T>

Source§

fn place(loaned: LoanedMut<'t, T>, place: &'t mut Self)

Implementors§

Source§

impl<'t, T> Place<'t, T> for T