pub struct SystemFn<F, Params: Param> { /* private fields */ }Expand description
Concrete system wrapper produced by IntoSystem.
Stores the function, pre-resolved parameter state, and a diagnostic
name. Users rarely name this type directly — use Box<dyn System>
for type-erased storage, or let inference handle the concrete type.
Trait Implementations§
Source§impl<F: Send + 'static, P0: Param + 'static, P1: Param + 'static> System for SystemFn<F, (P0, P1)>
impl<F: Send + 'static, P0: Param + 'static, P1: Param + 'static> System for SystemFn<F, (P0, P1)>
Source§impl<F: Send + 'static, P0: Param + 'static, P1: Param + 'static, P2: Param + 'static> System for SystemFn<F, (P0, P1, P2)>
impl<F: Send + 'static, P0: Param + 'static, P1: Param + 'static, P2: Param + 'static> System for SystemFn<F, (P0, P1, P2)>
Source§impl<F: Send + 'static, P0: Param + 'static, P1: Param + 'static, P2: Param + 'static, P3: Param + 'static> System for SystemFn<F, (P0, P1, P2, P3)>
impl<F: Send + 'static, P0: Param + 'static, P1: Param + 'static, P2: Param + 'static, P3: Param + 'static> System for SystemFn<F, (P0, P1, P2, P3)>
Source§impl<F: Send + 'static, P0: Param + 'static, P1: Param + 'static, P2: Param + 'static, P3: Param + 'static, P4: Param + 'static> System for SystemFn<F, (P0, P1, P2, P3, P4)>
impl<F: Send + 'static, P0: Param + 'static, P1: Param + 'static, P2: Param + 'static, P3: Param + 'static, P4: Param + 'static> System for SystemFn<F, (P0, P1, P2, P3, P4)>
Source§impl<F: Send + 'static, P0: Param + 'static, P1: Param + 'static, P2: Param + 'static, P3: Param + 'static, P4: Param + 'static, P5: Param + 'static> System for SystemFn<F, (P0, P1, P2, P3, P4, P5)>
impl<F: Send + 'static, P0: Param + 'static, P1: Param + 'static, P2: Param + 'static, P3: Param + 'static, P4: Param + 'static, P5: Param + 'static> System for SystemFn<F, (P0, P1, P2, P3, P4, P5)>
Source§impl<F: Send + 'static, P0: Param + 'static, P1: Param + 'static, P2: Param + 'static, P3: Param + 'static, P4: Param + 'static, P5: Param + 'static, P6: Param + 'static> System for SystemFn<F, (P0, P1, P2, P3, P4, P5, P6)>
impl<F: Send + 'static, P0: Param + 'static, P1: Param + 'static, P2: Param + 'static, P3: Param + 'static, P4: Param + 'static, P5: Param + 'static, P6: Param + 'static> System for SystemFn<F, (P0, P1, P2, P3, P4, P5, P6)>
Auto Trait Implementations§
impl<F, Params> Freeze for SystemFn<F, Params>
impl<F, Params> RefUnwindSafe for SystemFn<F, Params>
impl<F, Params> Send for SystemFn<F, Params>where
F: Send,
impl<F, Params> Sync for SystemFn<F, Params>
impl<F, Params> Unpin for SystemFn<F, Params>
impl<F, Params> UnsafeUnpin for SystemFn<F, Params>
impl<F, Params> UnwindSafe for SystemFn<F, Params>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more