Skip to main content

SetableBit

Trait SetableBit 

Source
pub trait SetableBit: Bits {
    // Required method
    fn set_bit(&mut self, pos: BitOffset<Self>);
}

Required Methods§

Source

fn set_bit(&mut self, pos: BitOffset<Self>)

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementations on Foreign Types§

Source§

impl SetableBit for u8

Source§

fn set_bit(&mut self, pos: BitOffset<u8>)

Source§

impl SetableBit for u16

Source§

fn set_bit(&mut self, pos: BitOffset<u16>)

Source§

impl SetableBit for u32

Source§

fn set_bit(&mut self, pos: BitOffset<u32>)

Source§

impl SetableBit for u64

Source§

fn set_bit(&mut self, pos: BitOffset<u64>)

Implementors§