Module borrow

Module borrow 

Source
Expand description

New functions for &(mut) dyn [Borrow].

Functions§

new
Create a dyn slice from a slice of a type that implements Borrow.
new_mut
Create a mutable dyn slice from a mutable slice of a type that implements Borrow.

Type Aliases§

Dyn
An alias for dyn Borrow.
Slice
An alias for &dyn [Borrow] (DynSlice<Dyn>).
SliceMut
An alias for &mut dyn [Borrow] (DynSliceMut<Dyn>).