pub enum LoadingPrecomputeStrategy {
Never,
Always,
}
Variants§
Never
Don’t precompute anything in loading jobs
Always
Precompute values that are shared across tasks
Trait Implementations§
Source§impl Clone for LoadingPrecomputeStrategy
impl Clone for LoadingPrecomputeStrategy
Source§fn clone(&self) -> LoadingPrecomputeStrategy
fn clone(&self) -> LoadingPrecomputeStrategy
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 LoadingPrecomputeStrategy
impl Debug for LoadingPrecomputeStrategy
Source§impl Default for LoadingPrecomputeStrategy
impl Default for LoadingPrecomputeStrategy
Source§fn default() -> LoadingPrecomputeStrategy
fn default() -> LoadingPrecomputeStrategy
Returns the “default value” for a type. Read more
Source§impl From<LoadingPrecomputeStrategy> for bool
impl From<LoadingPrecomputeStrategy> for bool
Source§fn from(strategy: LoadingPrecomputeStrategy) -> Self
fn from(strategy: LoadingPrecomputeStrategy) -> Self
Converts to this type from the input type.
Source§impl Hash for LoadingPrecomputeStrategy
impl Hash for LoadingPrecomputeStrategy
impl Copy for LoadingPrecomputeStrategy
impl Eq for LoadingPrecomputeStrategy
impl StructuralPartialEq for LoadingPrecomputeStrategy
Auto Trait Implementations§
impl Freeze for LoadingPrecomputeStrategy
impl RefUnwindSafe for LoadingPrecomputeStrategy
impl Send for LoadingPrecomputeStrategy
impl Sync for LoadingPrecomputeStrategy
impl Unpin for LoadingPrecomputeStrategy
impl UnwindSafe for LoadingPrecomputeStrategy
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.