Struct granite::chain::StorageProxy[][src]

pub struct StorageProxy<'a, S: List>(_);

A reference to a buffer from a [Chain] which only allows iteration over references to elements.

Trait Implementations

impl<'a, S: List> Clone for StorageProxy<'a, S>[src]

impl<'a, S: List> Copy for StorageProxy<'a, S>[src]

impl<'a, S: List> Debug for StorageProxy<'a, S> where
    &'a S: Debug
[src]

impl<'a: 'b, 'b, S: List> IntoRefIterator<'b> for StorageProxy<'a, S>[src]

type Item = S::Element

The item type over references to which iteration will be performed.

type Iter = <S as IntoRefIterator<'b>>::Iter

The resulting iterator type.

Auto Trait Implementations

impl<'a, S> RefUnwindSafe for StorageProxy<'a, S> where
    S: RefUnwindSafe

impl<'a, S> Send for StorageProxy<'a, S> where
    S: Sync

impl<'a, S> Sync for StorageProxy<'a, S> where
    S: Sync

impl<'a, S> Unpin for StorageProxy<'a, S>

impl<'a, S> UnwindSafe for StorageProxy<'a, S> where
    S: RefUnwindSafe

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> Slottable for T where
    T: Copy
[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.