Docs.rs
shakmaty-0.27.0
shakmaty 0.27.0
Permalink
Docs.rs crate page
GPL-3.0+
Links
Repository
crates.io
Source
Owners
niklasf
Dependencies
arrayvec ^0.7
normal
bitflags ^2.0.0
normal
btoi ^0.4
normal
nohash-hasher ^0.2
normal
optional
csv ^1.3
dev
iai ^0.1
dev
serde ^1.0.197
dev
serde_with ^3.6.1
dev
Versions
62.4%
of the crate is documented
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
Rust
About docs.rs
Privacy policy
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
shakmaty
0.27.0
In shakmaty::attacks
?
Function
shakmaty
::
attacks
::
king_attacks
source
·
[
−
]
pub fn king_attacks(sq:
Square
) ->
Bitboard
Expand description
Looks up attacks for a king on
sq
.