Trait rental::FixedDeref
[−]
[src]
pub unsafe trait FixedDeref: Deref { }
This trait indicates both that the type can be dereferenced, and that when it is, the target has a fixed memory address while it is held by a rental struct.
This trait is already implemented for common standard types that fulfill these requirements. It must be implemented for a type to be eligible as an owner in a rental struct.
Implementors
impl<'t, T: ?Sized> FixedDeref for &'t T
impl<'t, T: ?Sized> FixedDeref for &'t mut T
impl<T: ?Sized> FixedDeref for Box<T>
impl<T> FixedDeref for Vec<T>
impl FixedDeref for String
impl<T: ?Sized> FixedDeref for Rc<T>
impl<T: ?Sized> FixedDeref for Arc<T>
impl<'t, T: ?Sized> FixedDeref for Ref<'t, T>
impl<'t, T: ?Sized> FixedDeref for RefMut<'t, T>
impl<'t, T: ?Sized> FixedDeref for MutexGuard<'t, T>
impl<'t, T: ?Sized> FixedDeref for RwLockReadGuard<'t, T>
impl<'t, T: ?Sized> FixedDeref for RwLockWriteGuard<'t, T>