pub struct ResolutionContext<'a> {
pub formulary: &'a Formulary,
pub keg_registry: &'a KegRegistry,
pub sps_prefix: &'a Path,
pub include_optional: bool,
pub include_test: bool,
pub skip_recommended: bool,
pub initial_target_preferences: &'a PerTargetInstallPreferences,
pub build_all_from_source: bool,
pub cascade_source_preference_to_dependencies: bool,
pub has_bottle_for_current_platform: fn(&Formula) -> bool,
pub initial_target_actions: &'a HashMap<String, JobAction>,
}Fields§
§formulary: &'a Formulary§keg_registry: &'a KegRegistry§sps_prefix: &'a Path§include_optional: bool§include_test: bool§skip_recommended: bool§initial_target_preferences: &'a PerTargetInstallPreferences§build_all_from_source: bool§cascade_source_preference_to_dependencies: bool§has_bottle_for_current_platform: fn(&Formula) -> bool§initial_target_actions: &'a HashMap<String, JobAction>Implementations§
Source§impl<'a> ResolutionContext<'a>
impl<'a> ResolutionContext<'a>
pub fn should_process_dependency_edge( &self, parent_formula_for_logging: &Arc<Formula>, edge_tags: DependencyTag, parent_node_determined_strategy: NodeInstallStrategy, ) -> bool
pub fn should_consider_edge_globally(&self, edge_tags: DependencyTag) -> bool
Auto Trait Implementations§
impl<'a> Freeze for ResolutionContext<'a>
impl<'a> RefUnwindSafe for ResolutionContext<'a>
impl<'a> Send for ResolutionContext<'a>
impl<'a> Sync for ResolutionContext<'a>
impl<'a> Unpin for ResolutionContext<'a>
impl<'a> UnwindSafe for ResolutionContext<'a>
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