Struct pleco::core::score::Score[][src]

pub struct Score(pub Value, pub Value);

Struct to define the value of a mid-game / end-game evaluation.

Methods

impl Score
[src]

ZERO: Score = Score(0, 0)

The Score of zero

Creates a new Score.

Creates a new Score.

Returns the mid-game score.

Returns the end-game score.

Gives the value of the score in centi-pawns

Trait Implementations

impl Copy for Score
[src]

impl Clone for Score
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Score
[src]

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

This method tests for !=.

impl Debug for Score
[src]

Formats the value using the given formatter. Read more

impl Display for Score
[src]

Formats the value using the given formatter. Read more

impl Add for Score
[src]

The resulting type after applying the + operator.

Performs the + operation.

impl AddAssign for Score
[src]

Performs the += operation.

impl Sub for Score
[src]

The resulting type after applying the - operator.

Performs the - operation.

impl SubAssign for Score
[src]

Performs the -= operation.

impl Neg for Score
[src]

The resulting type after applying the - operator.

Performs the unary - operation.

impl Mul<u8> for Score
[src]

The resulting type after applying the * operator.

Performs the * operation.

impl Mul<u16> for Score
[src]

The resulting type after applying the * operator.

Performs the * operation.

impl Mul<i16> for Score
[src]

The resulting type after applying the * operator.

Performs the * operation.

impl Mul<i32> for Score
[src]

The resulting type after applying the * operator.

Performs the * operation.

Auto Trait Implementations

impl Send for Score

impl Sync for Score