Struct usiagent::hash::KyokumenMap [−][src]
Expand description
先手と後手の局面をTwoKeyHashMap
を使って管理する
Implementations
KyokumenMap
の生成
手番と主キーとサブキーを指定して項目を挿入する
Arguments
teban
- 手番k
- 主キーsk
- サブキーnv
- キーに対応する新しい項目(対応するキーがある場合は上書き、ない場合は追加される)
Trait Implementations
impl<K, T> Clone for KyokumenMap<K, T> where
K: Eq + Hash + Clone,
T: Clone,
TwoKeyHashMap<K, T>: Clone,
impl<K, T> Clone for KyokumenMap<K, T> where
K: Eq + Hash + Clone,
T: Clone,
TwoKeyHashMap<K, T>: Clone,
Auto Trait Implementations
impl<K, T> RefUnwindSafe for KyokumenMap<K, T> where
K: RefUnwindSafe,
T: RefUnwindSafe,
impl<K, T> Send for KyokumenMap<K, T> where
K: Send,
T: Send,
impl<K, T> Sync for KyokumenMap<K, T> where
K: Sync,
T: Sync,
impl<K, T> Unpin for KyokumenMap<K, T> where
K: Unpin,
T: Unpin,
impl<K, T> UnwindSafe for KyokumenMap<K, T> where
K: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more