Function pleco::core::u8_to_u64[][src]

pub fn u8_to_u64(s: u8) -> u64

Given a square (u8) that is valid, returns the bitboard representation of that square.

Safety

If the input is greater than 63, an empty u64 will be returned.