[][src]Struct smart_access::AT

#[must_use]pub struct AT<T, Index> { /* fields omitted */ }

A “reference” to some “location”.

With default Cps implementors every AT is guaranteed to be a list of “path parts” with type

AT<..AT<AT<AT<&mut root, I1>,I2>,I3>..In>

Though AT is exposed, it's strongly recommended to use impl Cps<View=T> as a return type of your functions and Cps<View=T> bounds on their parameters.

Trait Implementations

impl<T, V: ?Sized, Index> Cps for AT<T, Index> where
    T: Cps<View = V>,
    V: At<Index>, 
[src]

access returns Some / None according to rules described here

type View = V::View

Auto Trait Implementations

impl<T, Index> RefUnwindSafe for AT<T, Index> where
    Index: RefUnwindSafe,
    T: RefUnwindSafe

impl<T, Index> Send for AT<T, Index> where
    Index: Send,
    T: Send

impl<T, Index> Sync for AT<T, Index> where
    Index: Sync,
    T: Sync

impl<T, Index> Unpin for AT<T, Index> where
    Index: Unpin,
    T: Unpin

impl<T, Index> UnwindSafe for AT<T, Index> where
    Index: UnwindSafe,
    T: UnwindSafe

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.