Struct shred::Fetch
[−]
[src]
pub struct Fetch<'a, T: 'a> { /* fields omitted */ }
Return value of Resources::fetch
.
Trait Implementations
impl<'a, T: Debug + 'a> Debug for Fetch<'a, T>
[src]
impl<'a, T> Deref for Fetch<'a, T> where
T: Resource,
[src]
T: Resource,
type Target = T
The resulting type after dereferencing
fn deref(&self) -> &T
The method called to dereference a value
impl<'a, T> SystemData<'a> for Fetch<'a, T> where
T: Resource,
[src]
T: Resource,
fn fetch(res: &'a Resources) -> Self
Creates a new resource bundle by fetching the required resources from the [Resources
] struct. Read more
unsafe fn reads() -> Vec<ResourceId>
A list of [ResourceId
]s the bundle needs read access to in order to build the target resource bundle. Read more
unsafe fn writes() -> Vec<ResourceId>
A list of [ResourceId
]s the bundle needs write access to in order to build the target resource bundle. Read more