Method in collections::bitset · BitSet coil-stdlib

BitSet::clear

pub fn clear()
Import
use collections::bitset::{BitSet};
Source: src/collections/bitset.hy

Unset every bit; keeps allocated word capacity.

Called on a BitSet value as value.clear(…).

Contracts#

Checked according to --contracts (see Contracts).

ensures self.count == 0

See also#

↑ ↓ navigate ↵ open