Skip to main content

Merge

Trait Merge 

Source
pub trait Merge<Other> {
    type Out;
}
Expand description

Folds one setting of two declarations into one; a setting set by both has no fold.

Required Associated Types§

Source

type Out

The setting the two declare together.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§

Source§

impl<Other> Merge<Other> for Unset

Source§

type Out = Other

Source§

impl<Value> Merge<Unset> for Set<Value>

Source§

type Out = Set<Value>