Placeable

Trait Placeable 

Source
pub trait Placeable<'t, T>: Sized {
    // Required method
    fn place(self, place: &'t mut impl Place<'t, T>);
}
Expand description

Abstracts Loaned::place and LoanedMut::place for take! and drop!.

Required Methods§

Source

fn place(self, place: &'t mut impl Place<'t, T>)

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.

Implementors§

Source§

impl<'t, T> Placeable<'t, T> for Loaned<'t, T>

Source§

impl<'t, T> Placeable<'t, T> for LoanedMut<'t, T>