Struct geese::SystemRefMut
source · pub struct SystemRefMut<'a, T: ?Sized> { /* private fields */ }Expand description
Represents a mutable reference to a system.
Implementations§
source§impl<'a, T: ?Sized> SystemRefMut<'a, T>
impl<'a, T: ?Sized> SystemRefMut<'a, T>
sourcepub fn map<U, F>(orig: SystemRefMut<'a, T>, f: F) -> SystemRefMut<'a, U>where
F: FnOnce(&mut T) -> &mut U,
U: ?Sized,
pub fn map<U, F>(orig: SystemRefMut<'a, T>, f: F) -> SystemRefMut<'a, U>where
F: FnOnce(&mut T) -> &mut U,
U: ?Sized,
Creates a reference to a specific borrowed component of a system.