Skip to main content

PartialOverride

Trait PartialOverride 

Source
pub trait PartialOverride: Sized {
    type Err: Error;

    // Required method
    fn apply_overrides(&self, override_val: &Self) -> Result<Self, Self::Err>;
}

Required Associated Types§

Required Methods§

Source

fn apply_overrides(&self, override_val: &Self) -> Result<Self, Self::Err>

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 PartialOverride for Vec<LuaDependencySpec>

Override base_deps with override_deps

  • Adds missing dependencies
  • Replaces dependencies with the same name
Source§

type Err = Infallible

Source§

fn apply_overrides(&self, override_vec: &Self) -> Result<Self, Self::Err>

Source§

impl PartialOverride for HashMap<String, ExternalDependencySpec>

Source§

type Err = Infallible

Source§

fn apply_overrides(&self, override_map: &Self) -> Result<Self, Self::Err>

Implementors§