[][src]Struct abstract_ref::Ref

pub struct Ref<Tp: Type<T>, T: ?Sized>(_);

Implementations

impl<Tp: MakeMutType<T>, T: ?Sized> Ref<Tp, T>[src]

pub fn make_mut(&mut self) -> &mut T[src]

Trait Implementations

impl<Tp: Type<T>, T: ?Sized> AsRef<T> for Ref<Tp, T> where
    Tp::RefT: Borrow<T>, 
[src]

impl<Tp: Type<T>, T: ?Sized> Borrow<T> for Ref<Tp, T> where
    Tp::RefT: Borrow<T>, 
[src]

impl<Tp: Type<T>, T: ?Sized> Clone for Ref<Tp, T> where
    Tp::RefT: Clone
[src]

impl<Tp: Type<T>, T: ?Sized> Deref for Ref<Tp, T> where
    Tp::RefT: Borrow<T>, 
[src]

type Target = T

The resulting type after dereferencing.

impl<Tp: Type<T>, T> From<T> for Ref<Tp, T> where
    Tp::RefT: From<T>, 
[src]

Auto Trait Implementations

impl<Tp, T: ?Sized> RefUnwindSafe for Ref<Tp, T> where
    <Tp as Type<T>>::RefT: RefUnwindSafe
[src]

impl<Tp, T: ?Sized> Send for Ref<Tp, T> where
    <Tp as Type<T>>::RefT: Send
[src]

impl<Tp, T: ?Sized> Sync for Ref<Tp, T> where
    <Tp as Type<T>>::RefT: Sync
[src]

impl<Tp, T: ?Sized> Unpin for Ref<Tp, T> where
    <Tp as Type<T>>::RefT: Unpin
[src]

impl<Tp, T: ?Sized> UnwindSafe for Ref<Tp, T> where
    <Tp as Type<T>>::RefT: UnwindSafe
[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[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]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.