Trait vulkano_win::SafeBorrow[][src]

pub unsafe trait SafeBorrow<T>: Borrow<T> { }

An alternative to Borrow<T> with the requirement that all calls to borrow return the same object.

Implementations on Foreign Types

impl<'a, T> SafeBorrow<T> for &'a T
[src]

impl<'a, T> SafeBorrow<T> for &'a mut T
[src]

impl<T> SafeBorrow<T> for Rc<T>
[src]

impl<T> SafeBorrow<T> for Arc<T>
[src]

impl<T> SafeBorrow<T> for Box<T>
[src]

Implementors