pub enum ReloadStrategy {
Immediate,
Debounced(Duration),
Manual,
OnIdle,
}Expand description
热加载策略
Variants§
Trait Implementations§
Source§impl Clone for ReloadStrategy
impl Clone for ReloadStrategy
Source§fn clone(&self) -> ReloadStrategy
fn clone(&self) -> ReloadStrategy
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ReloadStrategy
impl Debug for ReloadStrategy
Source§impl Default for ReloadStrategy
impl Default for ReloadStrategy
Source§impl PartialEq for ReloadStrategy
impl PartialEq for ReloadStrategy
impl Eq for ReloadStrategy
impl StructuralPartialEq for ReloadStrategy
Auto Trait Implementations§
impl Freeze for ReloadStrategy
impl RefUnwindSafe for ReloadStrategy
impl Send for ReloadStrategy
impl Sync for ReloadStrategy
impl Unpin for ReloadStrategy
impl UnsafeUnpin for ReloadStrategy
impl UnwindSafe for ReloadStrategy
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