pub enum DisjointMoveError<L: Game, R: Game> {
LeftError(L::MoveError),
RightError(R::MoveError),
}
Variants§
Trait Implementations§
Source§impl<L: Clone + Game, R: Clone + Game> Clone for DisjointMoveError<L, R>
impl<L: Clone + Game, R: Clone + Game> Clone for DisjointMoveError<L, R>
Source§fn clone(&self) -> DisjointMoveError<L, R>
fn clone(&self) -> DisjointMoveError<L, R>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<L: Game, R: Game> Error for DisjointMoveError<L, R>
impl<L: Game, R: Game> Error for DisjointMoveError<L, R>
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl<L, R> Freeze for DisjointMoveError<L, R>
impl<L, R> RefUnwindSafe for DisjointMoveError<L, R>
impl<L, R> Send for DisjointMoveError<L, R>
impl<L, R> Sync for DisjointMoveError<L, R>
impl<L, R> Unpin for DisjointMoveError<L, R>
impl<L, R> UnwindSafe for DisjointMoveError<L, R>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more