Module shipyard::borrow[][src]

Allows access to helper types needed to implement Borrow.

Structs

AllStoragesMutBorrower

Helper struct allowing GAT-like behavior in stable.

EntitiesBorrower

Helper struct allowing GAT-like behavior in stable.

EntitiesMutBorrower

Helper struct allowing GAT-like behavior in stable.

NonSendthread_local

Type used to access !Send storages.

NonSendSyncthread_local

Type used to access !Send + !Sync storages.

NonSyncthread_local

Type used to access !Sync storages.

UniqueViewBorrower

Helper struct allowing GAT-like behavior in stable.

UniqueViewMutBorrower

Helper struct allowing GAT-like behavior in stable.

UnitBorrower

Helper struct allowing GAT-like behavior in stable.

ViewBorrower

Helper struct allowing GAT-like behavior in stable.

ViewMutBorrower

Helper struct allowing GAT-like behavior in stable.

Enums

Mutability

Describes if a storage is borrowed exlusively or not.
It is used to display workloads’ borrowing information.

Traits

AllStoragesBorrow

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

Borrow

Allows a type to be borrowed by World::borrow, World::run and worklaods.

BorrowInfo

Explains to a workload which storage are borrowed by a system.

IntoBorrow

Transforms a view into a helper type. This allows workloads to have the current syntax.