Function toggleFirstSet [src]

Finds the index of the first set bit, and unsets it. If no bits are set, returns null.

Prototype

pub fn toggleFirstSet(self: *Self) ?usize

Parameters

self: *Self

Source

pub fn toggleFirstSet(self: *Self) ?usize { return self.unmanaged.toggleFirstSet(); }