Struct chess_move_gen::bb::BB [] [src]

pub struct BB(pub u64);

BB represents a bitboard

Methods

impl BB
[src]

true if non empty

swaps bytes

Trait Implementations

impl PartialEq for BB
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Copy for BB
[src]

impl Clone for BB
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Shr<usize> for BB
[src]

The resulting type after applying the >> operator

The method for the >> operator

impl Shl<usize> for BB
[src]

The resulting type after applying the << operator

The method for the << operator

impl Not for BB
[src]

The resulting type after applying the ! operator

The method for the unary ! operator

impl BitOr for BB
[src]

The resulting type after applying the | operator

The method for the | operator

impl BitOrAssign for BB
[src]

The method for the |= operator

impl BitXor for BB
[src]

The resulting type after applying the ^ operator

The method for the ^ operator

impl BitXorAssign for BB
[src]

The method for the ^= operator

impl BitAnd for BB
[src]

The resulting type after applying the & operator

The method for the & operator

impl BitAndAssign for BB
[src]

The method for the &= operator

impl Sub for BB
[src]

The resulting type after applying the - operator

The method for the - operator

impl Add for BB
[src]

The resulting type after applying the + operator

The method for the + operator

impl Mul for BB
[src]

The resulting type after applying the * operator

The method for the * operator

impl Neg for BB
[src]

The resulting type after applying the - operator

The method for the unary - operator

impl Display for BB
[src]

Formats the value using the given formatter. Read more

impl Debug for BB
[src]

Formats the value using the given formatter.