Type Definition specs::WriteStorage
[−]
[src]
type WriteStorage<'a, T> = Storage<'a, T, FetchMut<'a, MaskedStorage<T>>>;
A storage with read and write access.
Trait Implementations
impl<'a, T> SystemData<'a> for WriteStorage<'a, T> where
T: Component,
[src]
T: Component,
fn fetch(res: &'a Resources, id: usize) -> Self
Creates a new resource bundle by fetching the required resources from the [Resources
] struct. Read more
fn reads(_: usize) -> Vec<ResourceId>
A list of [ResourceId
]s the bundle needs read access to in order to build the target resource bundle. Read more
fn writes(id: usize) -> Vec<ResourceId>
A list of [ResourceId
]s the bundle needs write access to in order to build the target resource bundle. Read more