[−][src]Function pleco::helper::prelude::ring_distance
ⓘImportant traits for BitBoard
pub fn ring_distance(sq: SQ, distance: u8) -> BitBoard
Returns the ring of bits surrounding the square sq at a specified distance.
Safety
distance must be less than 8, or else a panic will occur.