pub fn initFull(allocator: Allocator, bit_length: usize) !Self
Creates a bit set with all elements present. If bit_length is not zero, deinit must eventually be called.
allocator: Allocator
bit_length: usize
717 718 719 720 721
pub fn initFull(allocator: Allocator, bit_length: usize) !Self { var self = Self{}; try self.resize(allocator, bit_length, true); return self; }
Creates a bit set with all elements present. If bit_length is not zero, deinit must eventually be called.