pub enum ContextStrategy {
Greedy,
Spread,
}Variants§
Greedy
Select files by value until budget is exhausted.
Spread
Round-robin across modules/languages for coverage, then greedy fill.
Trait Implementations§
Source§impl Clone for ContextStrategy
impl Clone for ContextStrategy
Source§fn clone(&self) -> ContextStrategy
fn clone(&self) -> ContextStrategy
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 ContextStrategy
impl Debug for ContextStrategy
Source§impl Default for ContextStrategy
impl Default for ContextStrategy
Source§fn default() -> ContextStrategy
fn default() -> ContextStrategy
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ContextStrategy
impl<'de> Deserialize<'de> for ContextStrategy
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ContextStrategy
impl PartialEq for ContextStrategy
Source§impl Serialize for ContextStrategy
impl Serialize for ContextStrategy
Source§impl ValueEnum for ContextStrategy
impl ValueEnum for ContextStrategy
impl Copy for ContextStrategy
impl Eq for ContextStrategy
impl StructuralPartialEq for ContextStrategy
Auto Trait Implementations§
impl Freeze for ContextStrategy
impl RefUnwindSafe for ContextStrategy
impl Send for ContextStrategy
impl Sync for ContextStrategy
impl Unpin for ContextStrategy
impl UnsafeUnpin for ContextStrategy
impl UnwindSafe for ContextStrategy
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