SetBit in typenum::uint - Rust
Description: A type operator that, when implemented for unsigned integer `N`, sets the bit at position `I` to `B`.
Keywords: rust, rustlang, rust-lang, SetBit

# Trait typenum::uint::SetBit

source ·

    pub trait SetBit<I, B> {
        type Output;
    }

Expand description

A type operator that, when implemented for unsigned integer `N`, sets the bit at position `I` to `B`.

## Required Associated Types§

source

#### type Output

## Implementors§

source§

### impl<N, I, B> SetBit<I, B> for Nwhere
N: PrivateSetBit<I, B>,
PrivateSetBitOut<N, I, B>: Trim,

§

#### type Output = <<N as PrivateSetBit<I, B>>::Output as Trim>::Output