pub trait Borrow<'a> {
    type View;

    fn borrow(world: &'a World) -> Result<Self::View, GetStorage>;
}
Expand description

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

Required Associated Types

Required Methods

This function is where the actual borrowing happens.

Implementations on Foreign Types

Implementors