[−][src]Struct abstract_ref::Ref
Implementations
impl<Tp: MakeMutType<T>, T: ?Sized> Ref<Tp, T>
[src]
Trait Implementations
impl<Tp: Type<T>, T: ?Sized> AsRef<T> for Ref<Tp, T> where
Tp::RefT: Borrow<T>,
[src]
Tp::RefT: Borrow<T>,
impl<Tp: Type<T>, T: ?Sized> Borrow<T> for Ref<Tp, T> where
Tp::RefT: Borrow<T>,
[src]
Tp::RefT: Borrow<T>,
impl<Tp: Type<T>, T: ?Sized> Clone for Ref<Tp, T> where
Tp::RefT: Clone,
[src]
Tp::RefT: Clone,
pub fn clone(&self) -> Self
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<Tp: Type<T>, T: ?Sized> Deref for Ref<Tp, T> where
Tp::RefT: Borrow<T>,
[src]
Tp::RefT: Borrow<T>,
impl<Tp: Type<T>, T> From<T> for Ref<Tp, T> where
Tp::RefT: From<T>,
[src]
Tp::RefT: From<T>,
Auto Trait Implementations
impl<Tp, T: ?Sized> RefUnwindSafe for Ref<Tp, T> where
<Tp as Type<T>>::RefT: RefUnwindSafe,
[src]
<Tp as Type<T>>::RefT: RefUnwindSafe,
impl<Tp, T: ?Sized> Send for Ref<Tp, T> where
<Tp as Type<T>>::RefT: Send,
[src]
<Tp as Type<T>>::RefT: Send,
impl<Tp, T: ?Sized> Sync for Ref<Tp, T> where
<Tp as Type<T>>::RefT: Sync,
[src]
<Tp as Type<T>>::RefT: Sync,
impl<Tp, T: ?Sized> Unpin for Ref<Tp, T> where
<Tp as Type<T>>::RefT: Unpin,
[src]
<Tp as Type<T>>::RefT: Unpin,
impl<Tp, T: ?Sized> UnwindSafe for Ref<Tp, T> where
<Tp as Type<T>>::RefT: UnwindSafe,
[src]
<Tp as Type<T>>::RefT: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<!> for T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,