rustc_mir_build::builder

Trait BlockAndExtension

Source
trait BlockAndExtension {
    // Required methods
    fn and<T>(self, v: T) -> BlockAnd<T>;
    fn unit(self) -> BlockAnd<()>;
}

Required Methods§

Source

fn and<T>(self, v: T) -> BlockAnd<T>

Source

fn unit(self) -> BlockAnd<()>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl BlockAndExtension for BasicBlock

Source§

fn and<T>(self, v: T) -> BlockAnd<T>

Source§

fn unit(self) -> BlockAnd<()>

Implementors§