Struct friendly_chess::chess::Kings
source · pub struct Kings {
pub white: Option<SquareCoordinate>,
pub black: Option<SquareCoordinate>,
}Fields§
§white: Option<SquareCoordinate>§black: Option<SquareCoordinate>Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Kings
impl Send for Kings
impl Sync for Kings
impl Unpin for Kings
impl UnwindSafe for Kings
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