# Trait rustc_mir_build::build::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<()>

## Object Safety§

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§