pub(crate) fn needs_reload(&self, current_frame: u64) -> bool {
        match self.inner {
            HotReloadStrategyInner::Every { frame_number, .. } => frame_number == current_frame,
            HotReloadStrategyInner::Trigger { frame_number, .. } => frame_number == current_frame,
            HotReloadStrategyInner::Never => false,
        }
    }
/// Crate-internal method to check if reload is necessary.
/// `reload_counter` is a per-storage value which is only used
/// for and by this method.
Crate-internal method to check if reload is necessary.
`reload_counter` is a per-storage value which is only used
for and by this method.
Crate - internal method to check if reload is necessary . ` reload_counter ` is a per - storage value which is only used for and by this method .
pub(crate) fn needs_reload(&self, current_frame: u64) -> bool {
        match self.inner {
            HotReloadStrategyInner::Every { frame_number, .. } => frame_number == current_frame,
            HotReloadStrategyInner::Trigger { frame_number, .. } => frame_number == current_frame,
            HotReloadStrategyInner::Never => false,
        }
    }
pub ( crate ) fn needs_reload ( & self , current_frame : u64 ) -> bool { match self . inner { HotReloadStrategyInner :: Every { frame_number , .. } => frame_number == current_frame , HotReloadStrategyInner :: Trigger { frame_number , .. } => frame_number == current_frame , HotReloadStrategyInner :: Never => false , } }
Crate-internal method to check if reload is necessary.
Crate - internal method to check if reload is necessary .
&self
current_frame
u64
&self
current_frame
u64