bitboard

Types

pub type Bitboard {
  Bitboard(bitboard: Int)
}

Constructors

  • Bitboard(bitboard: Int)

Functions

pub fn and(bitboard1: Bitboard, bitboard2: Bitboard) -> Bitboard
pub fn bitscan_backward(bitboard: Bitboard) -> Int
pub fn bitscan_backward_inner(
  bitboard: Bitboard,
  index: Int,
) -> Int
pub fn bitscan_forward(bitboard: Bitboard) -> Int
pub fn bitscan_forward_inner(
  bitboard: Bitboard,
  index: Int,
) -> Int
pub fn empty_bitboard() -> Bitboard
pub fn exclusive_or(
  bitboard1: Bitboard,
  bitboard2: Bitboard,
) -> Bitboard
pub fn full_bitboard() -> Bitboard
pub fn new_bitboard(bitboard: Int) -> Bitboard
pub fn not(bitboard: Bitboard) -> Bitboard
pub fn or(bitboard1: Bitboard, bitboard2: Bitboard) -> Bitboard
pub fn shift_left(bitboard: Bitboard, shift: Int) -> Bitboard
pub fn shift_right(bitboard: Bitboard, shift: Int) -> Bitboard
Search Document