Struct specs::FetchMut
[−]
[src]
pub struct FetchMut<'a, T> where
T: 'a, { /* fields omitted */ }
Return value of Resources::fetch_mut
.
Trait Implementations
impl<'a, T> SystemData<'a> for FetchMut<'a, T> where
T: Resource,
[src]
T: Resource,
fn fetch(res: &'a Resources, id: usize) -> FetchMut<'a, T>
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
impl<'a, T> DerefMut for FetchMut<'a, T> where
T: Resource,
[src]
T: Resource,
fn deref_mut(&mut self) -> &mut T
The method called to mutably dereference a value
impl<'a, T> Deref for FetchMut<'a, T> where
T: Resource,
[src]
T: Resource,