Skip to main content

IntoUndefinedOutputs

Trait IntoUndefinedOutputs 

pub trait IntoUndefinedOutputs<A: Arch> {
    // Required method
    fn add(self, target: &mut UndefinedOutputs<A>);
}
Expand description

A convenience trait that can convert various types into UndefinedOutputs.

Required Methods§

fn add(self, target: &mut UndefinedOutputs<A>)

Converts self to an undefined output, and adds it to the list of undefined outputs target.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementations on Foreign Types§

§

impl<A: Arch> IntoUndefinedOutputs<A> for &[A::Flag]

§

fn add(self, target: &mut UndefinedOutputs<A>)

§

impl<A: Arch> IntoUndefinedOutputs<A> for ()

§

fn add(self, _target: &mut UndefinedOutputs<A>)

§

impl<const N: usize, A: Arch> IntoUndefinedOutputs<A> for &[A::Flag; N]

§

fn add(self, target: &mut UndefinedOutputs<A>)

§

impl<const N: usize, A: Arch> IntoUndefinedOutputs<A> for [A::Flag; N]

§

fn add(self, target: &mut UndefinedOutputs<A>)

Implementors§