Function on_off_sequence_output::position_of_highest_one[][src]

pub fn position_of_highest_one(bitfield: u128) -> u16
Expand description

Determine at position of the most left one in the bitfield represented as u128

Arguments

  • bitfield - The bitfield to find the most left bit that is set to one

Returns