Struct oxygengine_core::ecs::shred::FetchMut [−][src]
pub struct FetchMut<'a, T> where
T: 'a, { /* fields omitted */ }
Allows to fetch a resource in a system mutably.
If the resource isn’t strictly required, you should use
Option<FetchMut<T>>
.
Type parameters
T
: The type of the resource
Trait Implementations
impl<'a, 'b, T> Join for &'a mut FetchMut<'b, T> where
T: Resource,
&'a mut T: Join,
[src]
impl<'a, 'b, T> Join for &'a mut FetchMut<'b, T> where
T: Resource,
&'a mut T: Join,
[src]type Type = <&'a mut T as Join>::Type
Type of joined components.
type Value = <&'a mut T as Join>::Value
Type of joined storages.
type Mask = <&'a mut T as Join>::Mask
Type of joined bit mask.
pub unsafe fn open(
self
) -> (<&'a mut FetchMut<'b, T> as Join>::Mask, <&'a mut FetchMut<'b, T> as Join>::Value)
[src]
self
) -> (<&'a mut FetchMut<'b, T> as Join>::Mask, <&'a mut FetchMut<'b, T> as Join>::Value)
pub unsafe fn get(
v: &mut <&'a mut FetchMut<'b, T> as Join>::Value,
i: u32
) -> <&'a mut FetchMut<'b, T> as Join>::Type
[src]
v: &mut <&'a mut FetchMut<'b, T> as Join>::Value,
i: u32
) -> <&'a mut FetchMut<'b, T> as Join>::Type
pub fn is_unconstrained() -> bool
[src]
pub fn join(self) -> JoinIter<Self>ⓘ
[src]
pub fn maybe(self) -> MaybeJoin<Self>
[src]
Auto Trait Implementations
impl<'a, T> !RefUnwindSafe for FetchMut<'a, T>
impl<'a, T> !RefUnwindSafe for FetchMut<'a, T>
impl<'a, T> !UnwindSafe for FetchMut<'a, T>
impl<'a, T> !UnwindSafe for FetchMut<'a, T>