Trait mown::Borrowed

source ·
pub trait Borrowed {
    type Owned: Borrow<Self>;
}
Expand description

Types that are borrowed.

Required Associated Types§

source

type Owned: Borrow<Self>

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl Borrowed for str

source§

impl<T> Borrowed for [T]

§

type Owned = Vec<T>

Implementors§

source§

impl<T: Sized> Borrowed for T

§

type Owned = T