-
Hi, pub struct FunctionSystem<In, Out, Param, Marker, F>
where
Param: SystemParam,
{
config: Option<<Param::Fetch as SystemParamState>::Config>,
} I just wonder what the conversion does here, Why not |
Beta Was this translation helpful? Give feedback.
Answered by
bjorn3
Apr 14, 2021
Replies: 1 comment
-
The type |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
harrypunk
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The type
Param::Fetch
implements the traitSystemParamState
which has an associated typeConfig
. Theas SystemParamState
indicates that the associated typeConfig
should be looked for in the implementation ofSystemParamState
forParam::Fetch
.