Trait shipyard::AllStoragesBorrow[][src]

pub trait AllStoragesBorrow<'a>: Borrow<'a> {
    fn all_borrow(
        all_storages: &'a AllStorages
    ) -> Result<Self::View, GetStorage>; }

Allows a type to be borrowed by AllStorages::borrow and AllStorages::run.

Required methods

fn all_borrow(all_storages: &'a AllStorages) -> Result<Self::View, GetStorage>[src]

This function is where the actual borrowing happens.

Loading content...

Implementations on Foreign Types

impl<'a, T: AllStoragesBorrow<'a>> AllStoragesBorrow<'a> for Option<T>[src]

impl<'a, A: AllStoragesBorrow<'a>> AllStoragesBorrow<'a> for (A,)[src]

impl<'a, A: AllStoragesBorrow<'a>, B: AllStoragesBorrow<'a>> AllStoragesBorrow<'a> for (A, B)[src]

impl<'a, A: AllStoragesBorrow<'a>, B: AllStoragesBorrow<'a>, C: AllStoragesBorrow<'a>> AllStoragesBorrow<'a> for (A, B, C)[src]

impl<'a, A: AllStoragesBorrow<'a>, B: AllStoragesBorrow<'a>, C: AllStoragesBorrow<'a>, D: AllStoragesBorrow<'a>> AllStoragesBorrow<'a> for (A, B, C, D)[src]

impl<'a, A: AllStoragesBorrow<'a>, B: AllStoragesBorrow<'a>, C: AllStoragesBorrow<'a>, D: AllStoragesBorrow<'a>, E: AllStoragesBorrow<'a>> AllStoragesBorrow<'a> for (A, B, C, D, E)[src]

impl<'a, A: AllStoragesBorrow<'a>, B: AllStoragesBorrow<'a>, C: AllStoragesBorrow<'a>, D: AllStoragesBorrow<'a>, E: AllStoragesBorrow<'a>, F: AllStoragesBorrow<'a>> AllStoragesBorrow<'a> for (A, B, C, D, E, F)[src]

impl<'a, A: AllStoragesBorrow<'a>, B: AllStoragesBorrow<'a>, C: AllStoragesBorrow<'a>, D: AllStoragesBorrow<'a>, E: AllStoragesBorrow<'a>, F: AllStoragesBorrow<'a>, G: AllStoragesBorrow<'a>> AllStoragesBorrow<'a> for (A, B, C, D, E, F, G)[src]

impl<'a, A: AllStoragesBorrow<'a>, B: AllStoragesBorrow<'a>, C: AllStoragesBorrow<'a>, D: AllStoragesBorrow<'a>, E: AllStoragesBorrow<'a>, F: AllStoragesBorrow<'a>, G: AllStoragesBorrow<'a>, H: AllStoragesBorrow<'a>> AllStoragesBorrow<'a> for (A, B, C, D, E, F, G, H)[src]

impl<'a, A: AllStoragesBorrow<'a>, B: AllStoragesBorrow<'a>, C: AllStoragesBorrow<'a>, D: AllStoragesBorrow<'a>, E: AllStoragesBorrow<'a>, F: AllStoragesBorrow<'a>, G: AllStoragesBorrow<'a>, H: AllStoragesBorrow<'a>, I: AllStoragesBorrow<'a>> AllStoragesBorrow<'a> for (A, B, C, D, E, F, G, H, I)[src]

impl<'a, A: AllStoragesBorrow<'a>, B: AllStoragesBorrow<'a>, C: AllStoragesBorrow<'a>, D: AllStoragesBorrow<'a>, E: AllStoragesBorrow<'a>, F: AllStoragesBorrow<'a>, G: AllStoragesBorrow<'a>, H: AllStoragesBorrow<'a>, I: AllStoragesBorrow<'a>, J: AllStoragesBorrow<'a>> AllStoragesBorrow<'a> for (A, B, C, D, E, F, G, H, I, J)[src]

Loading content...

Implementors

impl<'a> AllStoragesBorrow<'a> for EntitiesBorrower[src]

impl<'a> AllStoragesBorrow<'a> for EntitiesMutBorrower[src]

impl<'a> AllStoragesBorrow<'a> for UnitBorrower[src]

impl<'a, T: 'static + Send + Sync> AllStoragesBorrow<'a> for UniqueViewBorrower<T>[src]

impl<'a, T: 'static + Send + Sync> AllStoragesBorrow<'a> for UniqueViewMutBorrower<T>[src]

impl<'a, T: 'static + Send + Sync> AllStoragesBorrow<'a> for ViewBorrower<T>[src]

impl<'a, T: 'static + Send + Sync> AllStoragesBorrow<'a> for ViewMutBorrower<T>[src]

impl<'a, T: 'static + Send> AllStoragesBorrow<'a> for NonSync<UniqueViewBorrower<T>>[src]

impl<'a, T: 'static + Send> AllStoragesBorrow<'a> for NonSync<UniqueViewMutBorrower<T>>[src]

impl<'a, T: 'static + Send> AllStoragesBorrow<'a> for NonSync<ViewBorrower<T>>[src]

impl<'a, T: 'static + Send> AllStoragesBorrow<'a> for NonSync<ViewMutBorrower<T>>[src]

impl<'a, T: 'static + Sync> AllStoragesBorrow<'a> for NonSend<UniqueViewBorrower<T>>[src]

impl<'a, T: 'static + Sync> AllStoragesBorrow<'a> for NonSend<UniqueViewMutBorrower<T>>[src]

impl<'a, T: 'static + Sync> AllStoragesBorrow<'a> for NonSend<ViewBorrower<T>>[src]

impl<'a, T: 'static + Sync> AllStoragesBorrow<'a> for NonSend<ViewMutBorrower<T>>[src]

impl<'a, T: 'static> AllStoragesBorrow<'a> for NonSendSync<UniqueViewBorrower<T>>[src]

impl<'a, T: 'static> AllStoragesBorrow<'a> for NonSendSync<UniqueViewMutBorrower<T>>[src]

impl<'a, T: 'static> AllStoragesBorrow<'a> for NonSendSync<ViewBorrower<T>>[src]

impl<'a, T: 'static> AllStoragesBorrow<'a> for NonSendSync<ViewMutBorrower<T>>[src]

Loading content...