Struct owner_monad::BindOwner[][src]

pub struct BindOwner<T, U, OT, OU, F> { /* fields omitted */ }

An implementation of the OwnerOnce, Owner and OwnerMut traits which contains a mapping from one owner to another; see bind().

Trait Implementations

impl<T, U, OT: Owner<T>, OU: Owner<U>, F: Fn(&T) -> OU> Owner<U> for BindOwner<&T, U, OT, OU, F>[src]

impl<T, U, OT: OwnerMut<T>, OU: OwnerMut<U>, F: FnMut(&mut T) -> OU> OwnerMut<U> for BindOwner<&mut T, U, OT, OU, F>[src]

impl<T, U, OT: OwnerOnce<T>, OU: OwnerOnce<U>, F: FnOnce(T) -> OU> OwnerOnce<U> for BindOwner<T, U, OT, OU, F>[src]

Auto Trait Implementations

impl<T, U, OT, OU, F> Send for BindOwner<T, U, OT, OU, F> where
    F: Send,
    OT: Send,
    OU: Send,
    T: Send,
    U: Send

impl<T, U, OT, OU, F> Sync for BindOwner<T, U, OT, OU, F> where
    F: Sync,
    OT: Sync,
    OU: Sync,
    T: Sync,
    U: Sync

impl<T, U, OT, OU, F> Unpin for BindOwner<T, U, OT, OU, F> where
    F: Unpin,
    OT: Unpin,
    OU: Unpin,
    T: Unpin,
    U: Unpin

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<T> for T[src]

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

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.