Merge in bootstrap::core::config - Rust
Description: API documentation for the Rust `Merge` trait in crate `bootstrap`.

Skip to main content

## Merge

# Trait Merge

Source

    pub(crate) trait Merge {
        // Required method
        fn merge(
            &mut self,
            parent_config_path: Option<PathBuf>,
            included_extensions: &mut HashSet<PathBuf>,
            other: Self,
            replace: ReplaceOpt,
        );
    }

## Required Methods§

Source

#### fn merge( &mut self, parent_config_path: Option<PathBuf>, included_extensions: &mut HashSet<PathBuf>, other: Self, replace: ReplaceOpt, )

## Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

## Implementations on Foreign Types§

Source§

### impl<T> Merge for Option<T>

Source§

#### fn merge( &mut self, _parent_config_path: Option<PathBuf>, _included_extensions: &mut HashSet<PathBuf>, other: Self, replace: ReplaceOpt, )

## Implementors§

Source§

### impl Merge for Build

Source§

### impl Merge for Tool

Source§

### impl Merge for Dist

Source§

### impl Merge for Gcc

Source§

### impl Merge for Install

Source§

### impl Merge for Llvm

Source§

### impl Merge for Rust

Source§

### impl Merge for TomlConfig

Source§

### impl Merge for TomlTarget