Struct shess::Game [−][src]
Fields
mode: M
backend: B
players: Vec<Player>
current_player: (i32, usize)
Implementations
impl<M: Mode, B: Backend> Game<M, B>
[src]
Trait Implementations
impl<M: Clone + Mode, B: Clone + Backend> Clone for Game<M, B>
[src]
impl<M: Debug + Mode, B: Debug + Backend> Debug for Game<M, B>
[src]
Auto Trait Implementations
impl<M, B> RefUnwindSafe for Game<M, B> where
B: RefUnwindSafe,
M: RefUnwindSafe,
B: RefUnwindSafe,
M: RefUnwindSafe,
impl<M, B> Send for Game<M, B> where
B: Send,
M: Send,
B: Send,
M: Send,
impl<M, B> Sync for Game<M, B> where
B: Sync,
M: Sync,
B: Sync,
M: Sync,
impl<M, B> Unpin for Game<M, B> where
B: Unpin,
M: Unpin,
B: Unpin,
M: Unpin,
impl<M, B> UnwindSafe for Game<M, B> where
B: UnwindSafe,
M: UnwindSafe,
B: UnwindSafe,
M: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,