[][src]Function pleco::helper::prelude::z_castle

pub fn z_castle(castle: u8) -> u64

Returns the Zobrish hash for a castling right.

Undefined behavior will occur if the bits are greater than 15.